diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 9 | ||||
-rw-r--r-- | src/input/pages/windows.cpp | 6 |
3 files changed, 16 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index f39b1864b..d5bad5483 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -594,6 +594,7 @@ namespace InputAction CREATE_PUBLIC_ROOM, JOIN_ROOM, LEAVE_ROOM, + WINDOW_QUICK_SETTINGS, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 9d6293628..54a15e806 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4451,6 +4451,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "leaveroom", false}, + {"keyWindowStatusBar", + emptyKey, + emptyKey, + Input::GRP_DEFAULT | Input::GRP_GUI, + &Actions::quickWindowShow, + InputAction::NO_VALUE, 50, + InputCondition::GAME | InputCondition::NOTARGET, + "yellowbar|quickoptions", + false}, }; #undef defaultAction diff --git a/src/input/pages/windows.cpp b/src/input/pages/windows.cpp index 396facb49..8d1f8ebc7 100644 --- a/src/input/pages/windows.cpp +++ b/src/input/pages/windows.cpp @@ -200,6 +200,12 @@ SetupActionData setupActionDataWindows[] = "", }, { + // TRANSLATORS: input action name + N_("Quick settings window"), + InputAction::WINDOW_QUICK_SETTINGS, + "", + }, + { // TRANSLATORS: input action label N_("Tabs"), InputAction::NO_VALUE, |