Added game files
This commit is contained in:
parent
704637d45e
commit
340b9b6900
31 changed files with 5427 additions and 0 deletions
21
source/Input.h
Normal file
21
source/Input.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#include <3ds.h>
|
||||
|
||||
typedef struct {
|
||||
bool down, clicked;
|
||||
int input;
|
||||
} Key;
|
||||
|
||||
Key k_null;
|
||||
Key k_up;
|
||||
Key k_down;
|
||||
Key k_left;
|
||||
Key k_right;
|
||||
Key k_attack;
|
||||
Key k_menu;
|
||||
Key k_pause;
|
||||
Key k_accept;
|
||||
Key k_decline;
|
||||
Key k_delete;
|
||||
|
||||
void tickKeys(u32 held,u32 down);
|
||||
bool clicked(Key key);
|
Loading…
Add table
Add a link
Reference in a new issue