uwick. W
/
MameController
Mamecontroller/joystick device wrapper library
Diff: joystick.h
- Revision:
- 1:89c1c7f9245a
- Parent:
- 0:4babde63a16e
- Child:
- 2:018f204f6037
--- a/joystick.h Wed Nov 26 23:24:53 2014 +0000 +++ b/joystick.h Mon Dec 01 21:07:44 2014 +0000 @@ -89,4 +89,20 @@ void pressJump(); void pressFire1(); void pressFire2(); -}; \ No newline at end of file +}; + +class GPIOJoystick:public Joystick{ +public: + GPIOJoystick(); + void init(); + void pressMenuSelect1(); + void pressMenuSelect2(); + void pressMenuSelect3(); + void pressUp(); + void pressDown(); + void pressLeft(); + void pressRight(); + void pressJump(); + void pressFire1(); + void pressFire2(); +};