-
Notifications
You must be signed in to change notification settings - Fork 0
PUIKeyboardController
Elijah Cobb edited this page May 13, 2021
·
4 revisions
This controller will allow you to listen to keyboard events using a NodeJS like event. You can supply a handler for onKeyUp and onKeyDown .
import {PUIKeyboardController} from "./pstdl-ui";
PUIKeyboardController.onKeyUp((key: KeyboardEvent) => {
console.log(key.code + " was just let up.");
})Created by Elijah Cobb at the Planetary Surface Technology Development Lab located at Michigan Technological University
- PUIGage
- PUIImmutableBinaryStatus
- PUIImmutableNumericStatus
- PUILog
- PUIMutableBinaryStatus
- PUIMutableNumericStatus
- PUIPicker
- PUISegmentedPicker
- PUIAlert
- PUIToast
- PUICard
- PUITopBar
- PUIAppController
- PUIKeyboardController
- PUIGamepadController
- PUIHookAlert
- PUIHookLog
- PUIHookState
- PUIHookToast
- PUIApp
- PUIColor
- PUIContext