More fixes and changes

This commit is contained in:
Maschell
2024-08-10 09:42:13 +02:00
parent 89012aae29
commit d989801b36
5 changed files with 43 additions and 21 deletions

View File

@@ -45,6 +45,19 @@ public:
STICK_L_DOWN = 0x08000000
};
#define ANY_BUTTON_MASK (Input::eButtons::BUTTON_L | \
Input::eButtons::BUTTON_R | \
Input::eButtons::BUTTON_PLUS | \
Input::eButtons::BUTTON_MINUS | \
Input::eButtons::BUTTON_A | \
Input::eButtons::BUTTON_B | \
Input::eButtons::BUTTON_X | \
Input::eButtons::BUTTON_Y | \
Input::eButtons::BUTTON_DOWN | \
Input::eButtons::BUTTON_LEFT | \
Input::eButtons::BUTTON_RIGHT | \
Input::eButtons::BUTTON_UP)
typedef struct {
uint32_t buttons_h;
uint32_t buttons_d;