Dreambox C/C++ SDK v1.0.0
C/C++ SDK for creating Dreambox games
|
Represents current input state of a gamepad. More...
#include <db_gamepad.h>
Data Fields | |
uint16_t | btnMask |
Bitmask of currently pressed buttons. Refer to GAMEPAD_BTN_* mask defines to check these bits. More... | |
int16_t | lStickX |
The X position of the left stick, as a value between -32767 and +32767. More... | |
int16_t | lStickY |
The Y position of the left stick, as a value between -32767 and +32767. More... | |
int16_t | rStickX |
The X position of the right stick, as a value between -32767 and +32767. More... | |
int16_t | rStickY |
The Y position of the right stick, as a value between -32767 and +32767. More... | |
Represents current input state of a gamepad.
Definition at line 28 of file db_gamepad.h.
uint16_t btnMask |
Bitmask of currently pressed buttons. Refer to GAMEPAD_BTN_* mask defines to check these bits.
Definition at line 31 of file db_gamepad.h.
int16_t lStickX |
The X position of the left stick, as a value between -32767 and +32767.
Definition at line 34 of file db_gamepad.h.
int16_t lStickY |
The Y position of the left stick, as a value between -32767 and +32767.
Definition at line 37 of file db_gamepad.h.
int16_t rStickX |
The X position of the right stick, as a value between -32767 and +32767.
Definition at line 40 of file db_gamepad.h.
int16_t rStickY |
The Y position of the right stick, as a value between -32767 and +32767.
Definition at line 43 of file db_gamepad.h.