mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:59:54 +00:00
support the printscreen button properly
This commit is contained in:
parent
403b6756f5
commit
a030c03513
3 changed files with 3 additions and 2 deletions
|
@ -716,7 +716,7 @@ namespace MWInput
|
|||
defaultKeyBindings[A_QuickKey8] = SDLK_8;
|
||||
defaultKeyBindings[A_QuickKey9] = SDLK_9;
|
||||
defaultKeyBindings[A_QuickKey10] = SDLK_0;
|
||||
defaultKeyBindings[A_Screenshot] = SDLK_SYSREQ;
|
||||
defaultKeyBindings[A_Screenshot] = SDLK_PRINTSCREEN;
|
||||
defaultKeyBindings[A_ToggleHUD] = SDLK_F12;
|
||||
|
||||
std::map<int, int> defaultMouseButtonBindings;
|
||||
|
|
1
extern/oics/ICSInputControlSystem.cpp
vendored
1
extern/oics/ICSInputControlSystem.cpp
vendored
|
@ -892,6 +892,7 @@ namespace ICS
|
|||
mKeys["RCONTROL"]= SDLK_RCTRL;
|
||||
mKeys["DIVIDE"]= SDLK_SLASH;
|
||||
mKeys["SYSRQ"]= SDLK_SYSREQ;
|
||||
mKeys["PRNTSCRN"] = SDLK_PRINTSCREEN;
|
||||
mKeys["RMENU"]= SDLK_RALT;
|
||||
mKeys["PAUSE"]= SDLK_PAUSE;
|
||||
mKeys["HOME"]= SDLK_HOME;
|
||||
|
|
2
extern/sdl4ogre/sdlinputwrapper.cpp
vendored
2
extern/sdl4ogre/sdlinputwrapper.cpp
vendored
|
@ -345,7 +345,7 @@ namespace SFO
|
|||
if(ois_equiv != mKeyMap.end())
|
||||
kc = ois_equiv->second;
|
||||
else
|
||||
std::cerr << "Couldn't find OIS key for " << SDLK_SYSREQ << std::endl;
|
||||
std::cerr << "Couldn't find OIS key for " << code << std::endl;
|
||||
|
||||
return kc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue