connectDown

fun connectDown(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (x: Double, y: Double) -> Unit): <Error class: unknown class>

Emitted when the stylus touches 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