area63 members
Input & time
Keys, mouse, touch and gamepads, system events, timers and dates.
Start here
datumhue.input.is_key_downWhether a key is currently held.datumhue.input.on_keySubscribecallbackto key press and release on the focused app; it receives the physical key name (aninput.Key) and whether the key is now pressed.datumhue.time.afterSchedule a one-shot callback to fire aftersecsseconds, on the first frame tick that reaches them.
In this area
- datumhue.inputFocus-scoped keyboard, mouse, touch, gamepad readers and cursor control.
- datumhue.eventsSubscribe to system / app-lifecycle events.
- datumhue.timeMonotonic time measurement and scheduled callbacks.
- TimerA scheduled timer from
time.after/time.every, or a runningtime.tween. - CalendarThe UTC calendar breakdown of an instant, from
datumhue.time.calendar.