mirror of
https://github.com/libretro/gambatte-libretro.git
synced 2024-11-23 07:49:48 +00:00
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:
parent
d774269939
commit
f64c4f926a
@ -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
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user