KeyboardInput
KeyboardInput
- key_code : bevy_input::keyboard::KeyCode
- logical_key : bevy_input::keyboard::Key
- state : bevy_input::ButtonState
- repeat : bool
- window : bevy_ecs::entity::Entity
Description
A keyboard input event.
This event is the translated version of the
WindowEvent::KeyboardInput
from thewinit
crate. It is available to the end user and can be used for game logic.Usage
The event is consumed inside of the [
keyboard_input_system
] to update theButtonInput<KeyCode>
resource.
Functions
Function | Summary |
---|---|
assert_receiver_is_total_eq(_self) | No Documentation 🚧 |
clone(_self) | No Documentation 🚧 |
eq(_self, other) | No Documentation 🚧 |