Expand description
Data for telling input-actions how a device input is mapped to an action.
Structs§
- Action
Map - A mapping of the supported device bindings for specific
actions
. - Action
Set - Represented by
ActionSetId
. This is a collection ofbindings
perlayout
which are bound to a specificaction
. - Binding
- A binding to some source with additional properties like a value modifier. Useful for binding buttons to axis actions for example.
Enums§
- Gamepad
- All possible inputs from a gamepad device.
- Mouse
- All possible inputs from a mouse device.
- Source
- Enumeration containing all the possible input sources across all kinds of devices.
Type Aliases§
- Action
SetId - An identifier representing
ActionSet
, a set of bindings to a given action for each supportedLayoutId
. Can be toggled on/off per user viaSystem::mark_action_set_enabled
. - Layout
Id - An identifier representing the way device inputs are mapped
to
actions
viaaction maps
.