From 382155e6fe25ede22c8290733acfe50665807828 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Fri, 17 Feb 2023 04:21:52 +0100 Subject: Add hotkey to toggle screen emphasis Toggles which screen is emphasized when the screen sizing is set to emphasize top or bottom. (Closes issue #1565) --- src/frontend/qt_sdl/InputConfig/InputConfigDialog.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/frontend/qt_sdl/InputConfig') diff --git a/src/frontend/qt_sdl/InputConfig/InputConfigDialog.cpp b/src/frontend/qt_sdl/InputConfig/InputConfigDialog.cpp index 92a0186..396da29 100644 --- a/src/frontend/qt_sdl/InputConfig/InputConfigDialog.cpp +++ b/src/frontend/qt_sdl/InputConfig/InputConfigDialog.cpp @@ -60,7 +60,8 @@ const int hk_general[] = HK_FullscreenToggle, HK_Lid, HK_Mic, - HK_SwapScreens + HK_SwapScreens, + HK_SwapScreenEmphasis }; const char* hk_general_labels[] = @@ -73,12 +74,13 @@ const char* hk_general_labels[] = "Toggle fullscreen", "Close/open lid", "Microphone", - "Swap screens" + "Swap screens", + "Swap screen emphasis" }; const int keypad_num = 12; const int hk_addons_num = 2; -const int hk_general_num = 9; +const int hk_general_num = 10; InputConfigDialog::InputConfigDialog(QWidget* parent) : QDialog(parent), ui(new Ui::InputConfigDialog) -- cgit v1.2.3