|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Represents the combined state of all VMU buttons. More...
#include <vmu.h>
Data Fields | ||
| uint8_t | raw | |
| Combined button state mask. | ||
| struct { | ||
| uint8_t dpad_up: 1 | ||
| Dpad Up button state. More... | ||
| uint8_t dpad_down: 1 | ||
| Dpad Down button state. More... | ||
| uint8_t dpad_left: 1 | ||
| Dpad Left button state. More... | ||
| uint8_t dpad_right: 1 | ||
| Dpad Right button state. More... | ||
| uint8_t a: 1 | ||
| 'A' button state More... | ||
| uint8_t b: 1 | ||
| 'B' button state More... | ||
| uint8_t mode: 1 | ||
| Mode button state. More... | ||
| uint8_t sleep: 1 | ||
| Sleep button state. More... | ||
| }; | ||
Represents the combined state of all VMU buttons.
Button states values:
0: Released1: Pressed| struct { ... } vmu_buttons_t |
| uint8_t vmu_buttons_t::a |
'A' button state
| uint8_t vmu_buttons_t::b |
'B' button state
| uint8_t vmu_buttons_t::dpad_down |
Dpad Down button state.
| uint8_t vmu_buttons_t::dpad_left |
Dpad Left button state.
| uint8_t vmu_buttons_t::dpad_right |
Dpad Right button state.
| uint8_t vmu_buttons_t::dpad_up |
Dpad Up button state.
| uint8_t vmu_buttons_t::mode |
Mode button state.
| uint8_t vmu_buttons_t::raw |
Combined button state mask.
| uint8_t vmu_buttons_t::sleep |
Sleep button state.