onDeviceAdded

fun onDeviceAdded(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (device: Device) -> Unit): <Error class: unknown class>

Emitted when a new input device is related to this seat.

Parameters

connectFlags

a combination of ConnectFlags

handler

the Callback to connect. Params: device the newly added GdkDevice.