Merge pull request #1165 from lkrieg/sdl_event_0x304_fix

Handle SDL event 0x304 by doing nothing (#3670)
coverity_scan^2
scrawl 8 years ago committed by GitHub
commit 21897e493e

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

Loading…
Cancel
Save