2 // Jaguar joystick handler
10 enum { BUTTON_FIRST = 0, BUTTON_U = 0,
32 BUTTON_PAUSE = 20, BUTTON_LAST = 20 };
34 void JoystickInit(void);
35 void JoystickReset(void);
36 void JoystickDone(void);
37 void JoystickWriteByte(uint32_t, uint8_t);
38 void JoystickWriteWord(uint32_t, uint16_t);
39 uint8_t JoystickReadByte(uint32_t);
40 uint16_t JoystickReadWord(uint32_t);
41 void JoystickExec(void);
43 extern bool keyBuffer[];
44 extern uint8_t joypad_0_buttons[];
45 extern uint8_t joypad_1_buttons[];