Appearance
JoyStateCmd
cpp
#include <Infrastructure/CmdQueueTypes.h>cpp
struct JoyStateCmdDefined in Infrastructure/CmdQueueTypes.h:243
Payload of a command that carries a joystick state.
Public Attributes
| Return | Name | Description |
|---|---|---|
isize | port | Number of the control port. |
u32 | state | Bits 0-4: current state, bits 8-12: previous state (up, down, left, right, fire). |
port
cpp
isize portDefined in Infrastructure/CmdQueueTypes.h:245
Number of the control port.
state
cpp
u32 stateDefined in Infrastructure/CmdQueueTypes.h:246
Bits 0-4: current state, bits 8-12: previous state (up, down, left, right, fire).