Module adi::hid

source ·
Expand description

Human Interface Device API (input API). This HID interface is designed for easy portability.

Enums

Input button for HidState.

Functions

Get the Left Stick X & Y (WASD). Ranges are [-1 .. 1].
Get the Right Stick X & Y (Mouse Movement). Ranges are [-1 .. 1].
Start a haptic rumble effect (vibrate).
Stop a haptic rumble effect (vibrate).
Get screen X.
Get screen Y.
Get text input (One character per frame max, \0 if nothing).