1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:23:52 +00:00

Merge pull request #1165 from lkrieg/sdl_event_0x304_fix

Handle SDL event 0x304 by doing nothing (#3670)
This commit is contained in:
scrawl 2016-12-17 12:02:39 +01:00 committed by GitHub
commit 21897e493e

View file

@ -108,6 +108,8 @@ InputWrapper::InputWrapper(SDL_Window* window, osg::ref_ptr<osgViewer::Viewer> v
case SDL_TEXTINPUT: case SDL_TEXTINPUT:
mKeyboardListener->textInput(evt.text); mKeyboardListener->textInput(evt.text);
break; break;
case SDL_KEYMAPCHANGED:
break;
case SDL_JOYHATMOTION: //As we manage everything with GameController, don't even bother with these. case SDL_JOYHATMOTION: //As we manage everything with GameController, don't even bother with these.
case SDL_JOYAXISMOTION: case SDL_JOYAXISMOTION:
case SDL_JOYBUTTONDOWN: case SDL_JOYBUTTONDOWN: