Skip to content

JoyStateCmd ​

cpp
#include <Infrastructure/CmdQueueTypes.h>
cpp
struct JoyStateCmd

Defined in Infrastructure/CmdQueueTypes.h:243

Payload of a command that carries a joystick state.

Public Attributes ​

ReturnNameDescription
isizeportNumber of the control port.
u32stateBits 0-4: current state, bits 8-12: previous state (up, down, left, right, fire).

port ​

cpp
isize port

Defined in Infrastructure/CmdQueueTypes.h:245

Number of the control port.


state ​

cpp
u32 state

Defined in Infrastructure/CmdQueueTypes.h:246

Bits 0-4: current state, bits 8-12: previous state (up, down, left, right, fire).