Crate bevy_input

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
gamepadgamepad
The gamepad input functionality.
gesturesgestures
Gestures functionality, from touchscreens and touchpads.
keyboardkeyboard
The keyboard input functionality.
mousemouse
The mouse input functionality.
prelude
The input prelude.
touchtouch
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 input from various sources to an App
InputSystems
Label for systems that update the input data.

Enums§

ButtonState
The current “press” state of an element