pub enum JoystickEvent {
JoystickConnected(),
JoystickDisonnected(),
JoystickMove(),
JoystickButton(),
}Expand description
A joystick event. Joysticks are not supported for now
Variants§
JoystickConnected()
A joystick has been connected
JoystickDisonnected()
A joystick has been disconnected
JoystickMove()
A joystick moved
JoystickButton()
A button has been pressed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JoystickEvent
impl RefUnwindSafe for JoystickEvent
impl Send for JoystickEvent
impl Sync for JoystickEvent
impl Unpin for JoystickEvent
impl UnwindSafe for JoystickEvent
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