Ajust some gfx functions for joycon compatibility

This commit is contained in:
Such Meme, Many Skill
2020-05-02 01:41:43 +02:00
parent 9178813338
commit 2cced5bdac
7 changed files with 73 additions and 36 deletions

View File

@@ -8,6 +8,9 @@
#define KEY_LDOWN BIT(17)
#define KEY_RUP BIT(7)
#define KEY_RDOWN BIT(6)
#define KEY_VOLP BIT(14)
#define KEY_VOLM BIT(15)
#define KEY_POW BIT(16)
typedef struct _inputs {
union {
@@ -47,4 +50,5 @@ typedef struct _inputs {
void hidInit();
Inputs *hidRead();
Inputs *hidWaitForButton(u32 mask);
Inputs *hidWait();
Inputs *hidWaitMask(u32 mask);