Expand description
[docs.microsoft.com] XINPUT_STATE
Packet number + Gamepad state.
Fields
packet_number: u32
State packet number.
The packet number indicates whether there have been any changes in the state of the controller.
If packet_number
is the same in sequentially returned State
structures, the controller state has not changed.
gamepad: Gamepad
The gamepad state.
Methods from Deref<Target = Gamepad>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for State
impl UnwindSafe for State
Blanket Implementations
Mutably borrows from an owned value. Read more