pub enum GipEvent {
Input(GamepadReport),
GuideButton(bool),
}Expand description
Event produced by GipHost::poll.
Variants§
Input(GamepadReport)
Standard gamepad input report (message type 0x20).
GuideButton(bool)
Xbox / Guide button state changed (message type 0x07).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GipEvent
impl RefUnwindSafe for GipEvent
impl Send for GipEvent
impl Sync for GipEvent
impl Unpin for GipEvent
impl UnwindSafe for GipEvent
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