Module ev
Available on crate feature dep_gilrs
only.
Expand description
Gamepad state and other event related functionality.
- filter
- Alter events in various ways.
- state
- Code
- Platform specific event code.
- Event
- Holds information about gamepad event.
- Axis
- Gamepad’s elements which state can be represented by value from -1.0 to 1.0.
- AxisOrBtn
- Represents
Axis
or Button
. - Button
- Gamepad’s elements which state can be represented by value from 0.0 to 1.0.
- EventType
- Gamepad event.