[−][src]Enum stick::Event
An event on the "Standard Gamepad" from w3c shown below.
Variants
A new controller has just been plugged in.
Controller unplugged.
Accept(bool)
Bottom right cluster (A / Circle / Return / Right Click).
Cancel(bool)
Bottom right cluster (B / X / Shift).
Common(bool)
Leftmost button in right cluster (Y / X / Square / Left Click).
Action(bool)
Topmost button in right cluster (X / Y / Triangle / Space).
Up(bool)
Up arrow / D-pad
Down(bool)
Down arrow / D-pad
Left(bool)
Left arrow / D-pad
Right(bool)
Right arrow / D-pad
Back(bool)
Back / Select Button (Escape)
Forward(bool)
Forward / Start Button (Tab)
L(bool)
Near L - "Inventory" (E)
R(bool)
Near R - "Use" (R)
Lz(f32)
Far L Throttle - "Sneak" (Ctrl)
Rz(f32)
Far R Throttle - "Precision Action" (Alt)
MotionH(f32)
Right Joystick (A / D)
MotionV(f32)
Left Joystick (W / S)
CameraH(f32)
Left Joystick (Mouse X Position)
CameraV(f32)
Right Joystick (Mouse Y Position)
MotionButton(bool)
Left Joystick Button (Middle Click)
CameraButton(bool)
Right Joystick Button (F)
Home button (Target platform application close)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,