onModifiers 
  fun onModifiers(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>) -> Boolean): <Error class: unknown class>(source)
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.