[−][src]Enum window::input::GameInput
Game input, W3 Standard gamepad with extensions events for PC/Console-style games.
Variants
Escape Key or Back Button/Hold Start Button
T Key or Forward Button/Press Start Button
A(bool)
Left Click/Enter Key or A/Circle Button
B(bool)
Shift Key or B Button
H(bool)
Right Click or X/Y/Square Button
V(bool)
Space Key or X/Y/Triangle Button
Up(bool)
D-Pad or Arrow Key Up or R Key
Down(bool)
D-Pad or Arrow Key Down or F Key
Left(bool)
D-Pad or Arrow Key Left or Scroll Down
Right(bool)
D-Pad or Arrow Key Right or Scroll Up
TriggerL(f64)
Alt Key or Left Bumper Trigger
TriggerR(f64)
Ctrl Key or Right Bumper Trigger
BumperL(bool)
G Key / U Key or Left Bumper Button
BumperR(bool)
E Key / I Key or Right Bumper Button
JoyPush(bool)
Tab Key or Left Joystick Push
CamPush(bool)
Middle Click or Right Joystick Push
JoyX(f64)
A/D Keys Axis or Left Joystick X
JoyY(f64)
W/S Keys Axis or Left Joystick Y
CamX(f64)
Mouse X delta or Right Joystick X
CamY(f64)
Mouse Y delta or Right Joystick Y
Slot(u8)
Inventory slot jumping (only available via number keys 1-10(11-,12=))
ComboLeft(bool)
Combo Action Button
ComboRight(bool)
Combo Action Button
ComboLeftPinky(bool)
Combo Action Button
ComboRightPinky(bool)
Combo Action Button
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GameInput
impl Send for GameInput
impl Sync for GameInput
impl Unpin for GameInput
impl UnwindSafe for GameInput
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<'a, T> DynBoxFut<'a> for T
[src]
pub fn box_fut(
this: &'a mut Pin<Box<dyn Future<Output = T> + 'static, Global>>
) -> DynFuture<'a, T>
[src]
this: &'a mut Pin<Box<dyn Future<Output = T> + 'static, Global>>
) -> DynFuture<'a, T>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,