X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fjoystick.h;fp=src%2Fjoystick.h;h=8a370879c4c33ba95ee02cb475ef66e97a5f610b;hb=2ae315f25e623cc8279d3c9012a3a166d86684c2;hp=0000000000000000000000000000000000000000;hpb=920ff84436f9539af4e893ed3857a22a554ffd72;p=virtualjaguar diff --git a/src/joystick.h b/src/joystick.h new file mode 100644 index 0000000..8a37087 --- /dev/null +++ b/src/joystick.h @@ -0,0 +1,15 @@ +#ifndef __JOYSTICK_H__ +#define __JOYSTICK_H__ + +#include "types.h" + +void joystick_init(void); +void joystick_reset(void); +void joystick_done(void); +void joystick_byte_write(uint32, uint8); +void joystick_word_write(uint32, uint16); +uint8 joystick_byte_read(uint32); +uint16 joystick_word_read(uint32); +void joystick_exec(void); + +#endif