A collection of abstractions for various input devices to be used with Amethyst.
Used for saving and loading input settings.
Bundle for adding the
This struct holds state information about input devices.
Represents any input represented by a float value from -1 to 1. Retrieve the value of this with axis_value.
An enum of possible errors that can occur when binding an action or axis.
An error occurred while loading the bindings file.
A Button is any kind of digital input that the engine supports.
Controller axes matching SDL controller model
Controller buttons matching SDL controller model
Controller events generated by the SDL events system.
Describes the input state of a key.
Events generated by the input system
Indicates in what direction a mouse wheel scroll event was.
Symbolic name for a keyboard key.
Define a set of types used for bindings configuration.
Usually defaulted to
Gets the input axis value from the
If this event was for manipulating a keyboard key then this will return the
If this event was for manipulating a mouse button, this will return the
Returns true if the event passed in is a request to close the game window.
Returns true if the event passed in is a key down event for the
Returns true if the event passed in is a key up event for the
Returns true if the event passed in is a mouse button down event for the