Expand description
The input prelude.
This includes the most common types in this crate, re-exported for your convenience.
Structs§
- Axis
- Stores the position data of the input devices of type
T
. - Button
Input - A “press-able” input of type
T
. - Gamepad
- Stores a connected gamepad’s metadata such as the name and its
GamepadButton
andGamepadAxis
. - Gamepad
Settings - Gamepad settings component.
- Touch
Input - A touch input event.
- Touches
- A collection of
Touch
es.
Enums§
- Gamepad
Axis - Represents gamepad input types that are mapped in the range [-1.0, 1.0]
- Gamepad
Button - Represents gamepad input types that are mapped in the range [0.0, 1.0].
- KeyCode
- The key code of a
KeyboardInput
. - Mouse
Button - A button on a mouse device.