actually enable POV-hat events.

git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@98 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
This commit is contained in:
sinamas 2007-10-26 20:26:33 +00:00
parent d774269939
commit f64c4f926a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
-- 0.3.1 -- 2007-10-26 --
gambatte_qt:
- Enable Joystick POV-Hat events.
-- 0.3.0 -- 2007-10-26 --
libgambatte:
- Fix adc/sbc and add_hl_rr hfc calc, sp_plus_n cf/hcf calc and daa thanks

View File

@ -77,7 +77,7 @@ public:
JoystickIniter::JoystickIniter() {
SDL_JoystickInit();
SDL_SetEventFilter(SDL_JOYAXISMOTION | SDL_JOYBUTTONCHANGE);
SDL_SetEventFilter(SDL_JOYAXISMOTION | SDL_JOYBUTTONCHANGE | SDL_JOYHATMOTION);
const int numJs = SDL_NumJoysticks();