From: Steve A. <ste...@us...> - 2006-01-30 16:20:53
|
Update of /cvsroot/stella/stella/src/emucore In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23557/src/emucore Modified Files: EventHandler.hxx Log Message: Preliminary support for converting buttons to HAT events for the GP2X gamepad, implementing 'case 2' configuration. This hasn't been tested yet, since I don't have the hardware. Index: EventHandler.hxx =================================================================== RCS file: /cvsroot/stella/stella/src/emucore/EventHandler.hxx,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -d -r1.76 -r1.77 *** EventHandler.hxx 18 Jan 2006 20:43:22 -0000 1.76 --- EventHandler.hxx 30 Jan 2006 16:20:41 -0000 1.77 *************** *** 481,484 **** --- 481,486 ---- void setEventState(State state); + inline SDL_Joystick* getJoystick(int i) { return ourJoysticks[i].stick; } + private: // Global OSystem object |