diff options
Diffstat (limited to 'src/wii/input.h')
-rw-r--r-- | src/wii/input.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/wii/input.h b/src/wii/input.h new file mode 100644 index 0000000..cf76e0e --- /dev/null +++ b/src/wii/input.h @@ -0,0 +1,20 @@ +#ifndef INPUT_H +#define INPUT_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, btnDecline; + +int axisX, axisY; + +void PHL_ScanInput(); + +#endif
\ No newline at end of file |