connectProximity
fun connectProximity(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>, <Error class: unknown class>) -> Unit): <Error class: unknown class>
Emitted when the stylus is in proximity of the device.
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: x
the X coordinate of the stylus event; y
the Y coordinate of the stylus event