Keyboard
The Keyboard Aptitude provides access to the the ability to listen to hotkeys pressed and text or characters typed.
The Keyboard aptitude expects that a user is using a standard QWERTY layout for their keys, and will not operate as expected with alternate layouts.
listenHotkey
Calls callback function when the specified hotkey is pressed or released.
listenText
Sets a listener that detects text from the user's keyboard, triggering a callback when a user types and then pauses briefly.
listenCharacter
Calls callback function when any character is detected from the keyboard.
Last updated