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 uint8_t joypad0Buttons
[];
44 extern uint8_t joypad1Buttons
[];
45 extern bool audioEnabled
;
46 extern bool joysticksEnabled
;
48 #endif // __JOYSTICK_H__