API Referenceatlasatlas/input
atlas/input
Input devices, bindings, action polling, and interaction callbacks.
declare module "atlas/input"
Input devices, bindings, action polling, and interaction callbacks.
Enums
Key— Keyboard identifiers used by input polling and trigger bindings.MouseButton— Mouse button identifiers used by input polling and trigger bindings.TriggerType— Discriminator selecting the active field of a button trigger.AxisTriggerType— Source of axis input: mouse motion, directional keys, or controller axes.
Types
ControllerButtonTrigger— Controller identifier and device button index for a button binding.AxisPacket— Axis action sample containing value-based input and motion deltas with flags identifying the available sources.MousePacket— Mouse position and motion offsets passed to interactive callbacks.MouseScrollPacket— Horizontal and vertical scroll offsets.
Classes
Trigger— Digital input binding. Use a factory to populate the fields corresponding to its type.AxisTrigger— Axis binding built from mouse motion, four directional keys, or one or two controller axes.InputAction— Named button or axis mapping. Register it before querying it.Interactive— Callback interface for keyboard, mouse, scroll, and per-frame interaction.
Values
Input— Global input polling, text input, mouse capture, and named action registration.