1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 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