From 9807eacb5866966d64ae053c0f9b3d9eefbb680f Mon Sep 17 00:00:00 2001 From: Nikolay Kasyanov Date: Sat, 15 Jun 2013 15:17:29 +0400 Subject: [PATCH] Removed obsolete OIS workaround --- apps/openmw/mwinput/inputmanagerimp.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/apps/openmw/mwinput/inputmanagerimp.cpp b/apps/openmw/mwinput/inputmanagerimp.cpp index 669957c4c..6098ff90b 100644 --- a/apps/openmw/mwinput/inputmanagerimp.cpp +++ b/apps/openmw/mwinput/inputmanagerimp.cpp @@ -420,16 +420,6 @@ namespace MWInput MWBase::Environment::get().getWindowManager()->enterPressed(); } - //TODO: Check if we need this with SDL - /* -#ifdef __APPLE__ // filter \016 symbol for F-keys on OS X - if ((arg.key >= SDLK_F1 && arg.key <= SDLK_F10) || - (arg.key >= SDLK_F11 && arg.key <= SDLK_F15)) { - text = 0; - } -#endif - */ - OIS::KeyCode kc = mInputManager->sdl2OISKeyCode(arg.keysym.sym); MyGUI::InputManager::getInstance().injectKeyPress(MyGUI::KeyCode::Enum(kc), text);