pub enum GamepadMessage {
Connected(GamePadId, String),
Disconnected(GamePadId),
Activated(GamePadId),
ButtonChanged(GamePadId, Button, ButtonValueType),
AxisChanged(GamePadId, Axis, AxisValueType),
}Expand description
Messages sent when gamepad state changes
Variants§
Connected(GamePadId, String)
Disconnected(GamePadId)
Activated(GamePadId)
ButtonChanged(GamePadId, Button, ButtonValueType)
AxisChanged(GamePadId, Axis, AxisValueType)
Trait Implementations§
Source§impl Debug for GamepadMessage
impl Debug for GamepadMessage
impl Message for GamepadMessage
Auto Trait Implementations§
impl Freeze for GamepadMessage
impl RefUnwindSafe for GamepadMessage
impl Send for GamepadMessage
impl Sync for GamepadMessage
impl Unpin for GamepadMessage
impl UnwindSafe for GamepadMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more