connectModifiers
fun connectModifiers(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>) -> Boolean): <Error class: unknown class>
Emitted whenever the state of modifier keys and pointer buttons change.
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: state
the bitmask, representing the new state of modifier keys and pointer buttons.. Returns whether to ignore modifiers