ParsecGamepadStateMessage

Gamepad state message.

Member of ParsecMessage.

Fields

TypeNameDescription
uint32_tidUnique client-provided index identifying the gamepad.
uint16_tbuttonsBitwise OR of ParsecGamepadState values representing buttons pressed.
int16_tthumbLXThe left thumbstick X axis value between -32768 and 32767.
int16_tthumbLYThe left thumbstick Y axis value between -32768 and 32767.
int16_tthumbRXThe right thumbstick X axis value between -32768 and 32767.
int16_tthumbRYThe right thumbstick Y axis value between -32768 and 32767.
uint8_tleftTriggerValue of the left trigger between 0 and 255.
uint8_trightTriggerValue of the right trigger between 0 and 255.