mirror of https://github.com/mgba-emu/mgba.git
Qt: Init joystick bindings
This commit is contained in:
parent
237e354636
commit
c2564c77a9
|
@ -14,6 +14,7 @@ InputController::InputController() {
|
||||||
#ifdef BUILD_SDL
|
#ifdef BUILD_SDL
|
||||||
m_sdlEvents.bindings = &m_inputMap;
|
m_sdlEvents.bindings = &m_inputMap;
|
||||||
GBASDLInitEvents(&m_sdlEvents);
|
GBASDLInitEvents(&m_sdlEvents);
|
||||||
|
GBASDLInitBindings(&m_inputMap);
|
||||||
SDL_JoystickEventState(SDL_QUERY);
|
SDL_JoystickEventState(SDL_QUERY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue