KallistiOS git master
Independent SDK for the Sega Dreamcast
|
VMU button masks More...
Data Structures | |
union | vmu_buttons_t |
Represents the combined state of all VMU buttons. More... | |
struct | vmu_state_t |
"Civilized" structure containing VMU's current state. More... | |
Macros | |
#define | VMU_DPAD_UP BIT(0) |
Up Dpad button on the VMU. | |
#define | VMU_DPAD_DOWN BIT(1) |
Down Dpad button on the VMU. | |
#define | VMU_DPAD_LEFT BIT(2) |
Left Dpad button on the VMU. | |
#define | VMU_DPAD_RIGHT BIT(3) |
Right Dpad button on the VMU. | |
#define | VMU_A BIT(4) |
'A' button on the VMU | |
#define | VMU_B BIT(5) |
'B' button on the VMU | |
#define | VMU_MODE BIT(6) |
Mode button on the VMU. | |
#define | VMU_SLEEP BIT(7) |
Sleep button on the VMU. | |
VMU button masks
VMU's button state/cond masks, same as capability masks
#define VMU_A BIT(4) |
'A' button on the VMU
#define VMU_B BIT(5) |
'B' button on the VMU
#define VMU_DPAD_DOWN BIT(1) |
Down Dpad button on the VMU.
#define VMU_DPAD_LEFT BIT(2) |
Left Dpad button on the VMU.
#define VMU_DPAD_RIGHT BIT(3) |
Right Dpad button on the VMU.
#define VMU_DPAD_UP BIT(0) |
Up Dpad button on the VMU.
#define VMU_MODE BIT(6) |
Mode button on the VMU.
#define VMU_SLEEP BIT(7) |
Sleep button on the VMU.