1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 12:35:46 +00:00

Merge pull request #1161 from Aussiemon/sdlfix

[Bug #2771] Handle SDL event 0x302 by doing nothing
This commit is contained in:
scrawl 2016-12-15 16:10:52 +01:00 committed by GitHub
commit 81b9b07820

View File

@ -102,6 +102,8 @@ InputWrapper::InputWrapper(SDL_Window* window, osg::ref_ptr<osgViewer::Viewer> v
if (evt.key.keysym.sym == SDLK_F3)
mViewer->getEventQueue()->keyRelease(osgGA::GUIEventAdapter::KEY_F3);
break;
case SDL_TEXTEDITING:
break;
case SDL_TEXTINPUT:
mKeyboardListener->textInput(evt.text);