forked from teamnwah/openmw-tes3coop
Add some missing SDL to MyGUI key translations.
Most importantly to allow numpad enter as alternative to return key.
This commit is contained in:
parent
b3916e7744
commit
a3dffd5d57
1 changed files with 5 additions and 0 deletions
5
extern/sdl4ogre/sdlinputwrapper.cpp
vendored
5
extern/sdl4ogre/sdlinputwrapper.cpp
vendored
|
@ -443,5 +443,10 @@ namespace SFO
|
|||
mKeyMap.insert( KeyMap::value_type(SDLK_PAGEDOWN, OIS::KC_PGDOWN) );
|
||||
mKeyMap.insert( KeyMap::value_type(SDLK_INSERT, OIS::KC_INSERT) );
|
||||
mKeyMap.insert( KeyMap::value_type(SDLK_DELETE, OIS::KC_DELETE) );
|
||||
mKeyMap.insert( KeyMap::value_type(SDLK_KP_ENTER, OIS::KC_NUMPADENTER) );
|
||||
mKeyMap.insert( KeyMap::value_type(SDLK_RCTRL, OIS::KC_RCONTROL) );
|
||||
mKeyMap.insert( KeyMap::value_type(SDLK_LGUI, OIS::KC_LWIN) );
|
||||
mKeyMap.insert( KeyMap::value_type(SDLK_RGUI, OIS::KC_RWIN) );
|
||||
mKeyMap.insert( KeyMap::value_type(SDLK_APPLICATION, OIS::KC_APPS) );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue