Bit masks representing common groups of capabilities
More...
|
#define | CONT_CAPABILITIES_STANDARD_BUTTONS |
| Standard button (A, B, X, Y, Start) controller capabilities.
|
|
#define | CONT_CAPABILITIES_DPAD |
| Directional pad (up, down, left right) controller capabilities.
|
|
#define | CONT_CAPABILITIES_ANALOG |
| Analog stick (X, Y axes) controller capabilities.
|
|
#define | CONT_CAPABILITIES_TRIGGERS |
| Trigger (L, R lever) controller capabilities.
|
|
#define | CONT_CAPABILITIES_EXTENDED_BUTTONS |
| Extended button (C, Z) controller capabilities.
|
|
#define | CONT_CAPABILITIES_SECONDARY_DPAD |
| Secondary directional pad (up, down, left, right) controller capabilities.
|
|
#define | CONT_CAPABILITIES_SECONDARY_ANALOG |
| Secondary analog stick (X, Y axes) controller capabilities.
|
|
#define | CONT_CAPABILITIES_DUAL_DPAD |
| Both directional pads (up, down, left right) controller capabilities.
|
|
#define | CONT_CAPABILITIES_DUAL_ANALOG |
| Both analog sticks (X, Y axes) controller capabilities.
|
|
Bit masks representing common groups of capabilities
These are a sets of capabilities providing a convenient way to test for high-level features, such as dual-analog sticks or extra buttons.
◆ CONT_CAPABILITIES_ANALOG
#define CONT_CAPABILITIES_ANALOG |
Value:
#define CONT_CAPABILITY_ANALOG_Y
First analog Y axis capability mask.
Definition controller.h:261
#define CONT_CAPABILITY_ANALOG_X
First analog X axis capability mask.
Definition controller.h:260
Analog stick (X, Y axes) controller capabilities.
◆ CONT_CAPABILITIES_DPAD
#define CONT_CAPABILITIES_DPAD |
Value:
#define CONT_CAPABILITY_DPAD_LEFT
First Dpad left capability mask.
Definition controller.h:248
#define CONT_CAPABILITY_DPAD_UP
First Dpad up capability mask.
Definition controller.h:246
#define CONT_CAPABILITY_DPAD_RIGHT
First Dpad right capability mask.
Definition controller.h:249
#define CONT_CAPABILITY_DPAD_DOWN
First Dpad down capability mask.
Definition controller.h:247
Directional pad (up, down, left right) controller capabilities.
◆ CONT_CAPABILITIES_DUAL_ANALOG
#define CONT_CAPABILITIES_DUAL_ANALOG |
Value:
#define CONT_CAPABILITIES_SECONDARY_ANALOG
Secondary analog stick (X, Y axes) controller capabilities.
Definition controller.h:308
#define CONT_CAPABILITIES_ANALOG
Analog stick (X, Y axes) controller capabilities.
Definition controller.h:290
Both analog sticks (X, Y axes) controller capabilities.
◆ CONT_CAPABILITIES_DUAL_DPAD
#define CONT_CAPABILITIES_DUAL_DPAD |
Value:
#define CONT_CAPABILITIES_DPAD
Directional pad (up, down, left right) controller capabilities.
Definition controller.h:284
#define CONT_CAPABILITIES_SECONDARY_DPAD
Secondary directional pad (up, down, left, right) controller capabilities.
Definition controller.h:302
Both directional pads (up, down, left right) controller capabilities.
◆ CONT_CAPABILITIES_EXTENDED_BUTTONS
#define CONT_CAPABILITIES_EXTENDED_BUTTONS |
Value:
#define CONT_CAPABILITY_C
C button capability mask.
Definition controller.h:242
#define CONT_CAPABILITY_Z
Z button capability mask.
Definition controller.h:250
Extended button (C, Z) controller capabilities.
◆ CONT_CAPABILITIES_SECONDARY_ANALOG
#define CONT_CAPABILITIES_SECONDARY_ANALOG |
Value:
#define CONT_CAPABILITY_ANALOG2_X
Second analog X axis capability mask.
Definition controller.h:262
#define CONT_CAPABILITY_ANALOG2_Y
Second analog Y axis capability mask.
Definition controller.h:263
Secondary analog stick (X, Y axes) controller capabilities.
◆ CONT_CAPABILITIES_SECONDARY_DPAD
#define CONT_CAPABILITIES_SECONDARY_DPAD |
Value:
#define CONT_CAPABILITY_DPAD2_UP
Second Dpad up capability mask.
Definition controller.h:254
#define CONT_CAPABILITY_DPAD2_DOWN
Second Dpad down capability mask.
Definition controller.h:255
#define CONT_CAPABILITY_DPAD2_LEFT
Second Dpad left capability mask.
Definition controller.h:256
#define CONT_CAPABILITY_DPAD2_RIGHT
Second Dpad right capability mask.
Definition controller.h:257
Secondary directional pad (up, down, left, right) controller capabilities.
◆ CONT_CAPABILITIES_STANDARD_BUTTONS
#define CONT_CAPABILITIES_STANDARD_BUTTONS |
Value:
#define CONT_CAPABILITY_START
Start button capability mask.
Definition controller.h:245
#define CONT_CAPABILITY_Y
Y button capability mask.
Definition controller.h:251
#define CONT_CAPABILITY_B
B button capability mask.
Definition controller.h:243
#define CONT_CAPABILITY_A
A button capability mask.
Definition controller.h:244
#define CONT_CAPABILITY_X
X button capability mask.
Definition controller.h:252
Standard button (A, B, X, Y, Start) controller capabilities.
◆ CONT_CAPABILITIES_TRIGGERS
#define CONT_CAPABILITIES_TRIGGERS |
Value:
#define CONT_CAPABILITY_RTRIG
Right trigger capability mask.
Definition controller.h:258
#define CONT_CAPABILITY_LTRIG
Left trigger capability mask.
Definition controller.h:259
Trigger (L, R lever) controller capabilities.