onRead

expect var onRead: (driver: InputDeviceDriver, data: InputDeviceData) -> Unit

Handles the read event when data has been read from an input device.

actual var onRead: (driver: InputDeviceDriver, data: InputDeviceData) -> Unit
actual var onRead: (driver: InputDeviceDriver, data: InputDeviceData) -> Unit