diff --git a/apps/openmw/mwinput/inputmanagerimp.cpp b/apps/openmw/mwinput/inputmanagerimp.cpp index c395333d6..540efdf89 100644 --- a/apps/openmw/mwinput/inputmanagerimp.cpp +++ b/apps/openmw/mwinput/inputmanagerimp.cpp @@ -1601,6 +1601,8 @@ namespace MWInput return "Zoom In"; else if (action == A_ZoomOut) return "Zoom Out"; + else if (action == A_ToggleHUD) + return "Toggle HUD"; descriptions[A_Use] = "sUse"; descriptions[A_Activate] = "sActivate"; @@ -1779,6 +1781,7 @@ namespace MWInput ret.push_back(A_Console); ret.push_back(A_QuickSave); ret.push_back(A_QuickLoad); + ret.push_back(A_ToggleHUD); ret.push_back(A_Screenshot); ret.push_back(A_QuickKeysMenu); ret.push_back(A_QuickKey1); @@ -1812,6 +1815,7 @@ namespace MWInput ret.push_back(A_Rest); ret.push_back(A_QuickSave); ret.push_back(A_QuickLoad); + ret.push_back(A_ToggleHUD); ret.push_back(A_Screenshot); ret.push_back(A_QuickKeysMenu); ret.push_back(A_QuickKey1); @@ -1852,7 +1856,7 @@ namespace MWInput } // Disallow binding reserved keys - if (key == SDL_SCANCODE_F3 || key == SDL_SCANCODE_F4 || key == SDL_SCANCODE_F10 || key == SDL_SCANCODE_F11) + if (key == SDL_SCANCODE_F3 || key == SDL_SCANCODE_F4 || key == SDL_SCANCODE_F10) return; #ifndef __APPLE__ diff --git a/files/mygui/openmw_settings_window.layout b/files/mygui/openmw_settings_window.layout index ce1fb15ed..f61af5a10 100644 --- a/files/mygui/openmw_settings_window.layout +++ b/files/mygui/openmw_settings_window.layout @@ -213,7 +213,7 @@ - + @@ -231,10 +231,10 @@ - + - + @@ -244,15 +244,15 @@ - + - + - + @@ -306,9 +306,9 @@ - + - + @@ -320,18 +320,18 @@ - + - + - + - + @@ -341,11 +341,11 @@ - + - + @@ -373,10 +373,10 @@ - + - + @@ -388,7 +388,7 @@ - + @@ -400,11 +400,11 @@ - + - +