Crate bevy_input

Source
Expand description

Input functionality for the Bevy game engine.

§Supported input devices

bevy currently supports keyboard, mouse, gamepad, and touch inputs.

Modules§

common_conditions
Common run conditions
gamepad
The gamepad input functionality.
gestures
Gestures functionality, from touchscreens and touchpads.
keyboard
The keyboard input functionality.
mouse
The mouse input functionality.
prelude
The input prelude.
touch
The touch input functionality.

Structs§

Axis
Stores the position data of the input devices of type T.
ButtonInput
A “press-able” input of type T.
InputPlugin
Adds keyboard and mouse input to an App
InputSystem
Label for systems that update the input data.

Enums§

ButtonState
The current “press” state of an element