diff options
Diffstat (limited to 'src/3ds/input.h')
-rw-r--r-- | src/3ds/input.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/3ds/input.h b/src/3ds/input.h new file mode 100644 index 0000000..7b7076e --- /dev/null +++ b/src/3ds/input.h @@ -0,0 +1,25 @@ +#ifndef INPUT_H +#define INPUT_H + +#include <3ds.h> + +typedef struct { + int pressed, + held, + released; +} Button; + +Button btnUp, btnDown, btnLeft, btnRight; +Button btnFaceUp, btnFaceDown, btnFaceLeft, btnFaceRight; + +Button btnL, btnR; +Button btnStart, btnSelect; + +Button btnAccept; +Button btnDecline; + +int axisX, axisY; + +void PHL_ScanInput(); + +#endif
\ No newline at end of file |