Input

InputContext gives read-only device state from lifecycle hook args. Use raw modules for hardware reads, then use Players for stable per-user abstraction.

Keys

Keyboard state, edge triggers, movement/action maps.

Mouse

Buttons, cursor, capture, wheel, and pointer deltas.

Gamepads

Raw controller buttons, sticks, gyro, accel by index.

Joy-Con

JoyCon/JoyCon2 decoder path on PC with explicit index semantics.

Players abstraction

Use player binding layer when game logic tracks player identity, not device slot order.

Open Players Docs