Struct windows_sys::Win32::UI::Input::XboxController::XINPUT_GAMEPAD
[−]#[repr(C)]pub struct XINPUT_GAMEPAD {
pub wButtons: XINPUT_GAMEPAD_BUTTON_FLAGS,
pub bLeftTrigger: u8,
pub bRightTrigger: u8,
pub sThumbLX: i16,
pub sThumbLY: i16,
pub sThumbRX: i16,
pub sThumbRY: i16,
}
Expand description
Required features: "Win32_UI_Input_XboxController"
Fields
wButtons: XINPUT_GAMEPAD_BUTTON_FLAGS
bLeftTrigger: u8
bRightTrigger: u8
sThumbLX: i16
sThumbLY: i16
sThumbRX: i16
sThumbRY: i16
Trait Implementations
impl Clone for XINPUT_GAMEPAD
impl Clone for XINPUT_GAMEPAD
impl Copy for XINPUT_GAMEPAD
Auto Trait Implementations
impl RefUnwindSafe for XINPUT_GAMEPAD
impl Send for XINPUT_GAMEPAD
impl Sync for XINPUT_GAMEPAD
impl Unpin for XINPUT_GAMEPAD
impl UnwindSafe for XINPUT_GAMEPAD
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more