Low Level API
Kotlin: Low Level API depends on NativeKeyboardHandler that can be obtained via nativeKbHandlerForPlatform()
.
Java: Low Level API depends on JNativeKeyboardHandler that can be obtained via JNativeKeyboardHandler.INSTANCE
.
NodeJS: Low Level API depends on JsKeyboardHandler that can be obtained via JsNativeKeyboardHandler
.
Importing the package.
Listening to events using Flow (Kotlin) or callback (Java).
Sending a Key event.
Get KeyState (KeyDown or KeyUp) of the Key.
Get States of Toggleable Keys (returns a Boolean).