XINPUT_GAMEPAD

Fields

wButtons

The current state of the controller buttons. uint16

bLeftTrigger

The current state of the left trigger. uint8

bRightTrigger

The current state of the right trigger. uint8

sThumbLX

The current state of the left thumbstick X axis. int16

sThumbLY

The current state of the left thumbstick Y axis. int16

sThumbRX

The current state of the right thumbstick X axis. int16

sThumbRY

The current state of the right thumbstick Y axis. int16