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