Minicraft3DS/source/Input.h
2015-10-19 17:51:02 -05:00

21 lines
275 B
C

#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);