From c2d6e074c2201a2f8c674f218d075868b3928ff1 Mon Sep 17 00:00:00 2001 From: Leon Krieg Date: Sat, 17 Dec 2016 11:52:17 +0100 Subject: [PATCH] Handle SDL event 0x304 by doing nothing (#3670) --- components/sdlutil/sdlinputwrapper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/sdlutil/sdlinputwrapper.cpp b/components/sdlutil/sdlinputwrapper.cpp index 6482f378e2..2f0419d3a9 100644 --- a/components/sdlutil/sdlinputwrapper.cpp +++ b/components/sdlutil/sdlinputwrapper.cpp @@ -108,6 +108,8 @@ InputWrapper::InputWrapper(SDL_Window* window, osg::ref_ptr 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: