X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fgamepad.h;h=902dae128b2694ec888c83355a6ccd6948039046;hb=32f569e1bd09f5d7f07005d119f6408805106381;hp=a7085a416e12af6bdd108db1842bdfe2b9d14e08;hpb=94d59c2c8c14b9ac51dffd117ec507418b4d0881;p=virtualjaguar diff --git a/src/gui/gamepad.h b/src/gui/gamepad.h index a7085a4..902dae1 100644 --- a/src/gui/gamepad.h +++ b/src/gui/gamepad.h @@ -30,7 +30,7 @@ class Gamepad { // really should make all methods and members be static so that we can -// call this stuff without instantiating one. :-) +// call this stuff without instantiating one. :-) [DONE] public: Gamepad(); ~Gamepad(); @@ -44,11 +44,12 @@ class Gamepad static int GetButtonID(void); static int GetJoystickID(void); static void Update(void); + static void DumpJoystickStatesToLog(void); // Support up to 8 gamepads static int numJoysticks; static SDL_Joystick * pad[8]; - static const char * padName[8]; + static char padName[8][128]; static int numButtons[8]; static int numAxes[8]; static int numHats[8];