Skip to content

@modoki/engine / index / InputDevice

Type Alias: InputDevice

InputDevice = "keyboard" | "pointer" | "gamepad" | "native" | "none"

Which physical device last produced activity — for "Press A" vs "Click" prompt swapping (Part B4). 'none' until any source reports input.

Built with Modoki.