mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
Removed obsolete OIS workaround
This commit is contained in:
parent
5984a15846
commit
9807eacb58
1 changed files with 0 additions and 10 deletions
|
@ -420,16 +420,6 @@ namespace MWInput
|
||||||
MWBase::Environment::get().getWindowManager()->enterPressed();
|
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);
|
OIS::KeyCode kc = mInputManager->sdl2OISKeyCode(arg.keysym.sym);
|
||||||
|
|
||||||
MyGUI::InputManager::getInstance().injectKeyPress(MyGUI::KeyCode::Enum(kc), text);
|
MyGUI::InputManager::getInstance().injectKeyPress(MyGUI::KeyCode::Enum(kc), text);
|
||||||
|
|
Loading…
Reference in a new issue