GamepadConnectionEvent
GamepadConnectionEvent
- gamepad : bevy_ecs::entity::Entity
- connection : bevy_input::gamepad::GamepadConnection
Description
A Gamepad connection event. Created when a connection to a gamepad is established and when a gamepad is disconnected.
Functions
Function | Summary |
---|---|
clone(_self) | No Documentation 🚧 |
connected(_self) | Is the gamepad connected? |
disconnected(_self) | Is the gamepad disconnected? |
eq(_self, other) | No Documentation 🚧 |
new(gamepad, connection) | Creates a [`GamepadConnectionEvent`]. |