summaryrefslogtreecommitdiffhomepage
path: root/logic/win32-shortcuts.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-06 21:31:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-06 21:31:21 +0200
commit5279f08e26ac9cea16f12f86c76b394c0d816b48 (patch)
tree3b60b27d874125508d512aa27d15d51cee5f7017 /logic/win32-shortcuts.cpp
parent367f981e6cace2beb3aad4f2173bcd0145f82ce8 (diff)
gui, logic: allow for binding Caps Lock and Tab
Issue: #646
Diffstat (limited to 'logic/win32-shortcuts.cpp')
-rw-r--r--logic/win32-shortcuts.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/win32-shortcuts.cpp b/logic/win32-shortcuts.cpp
index 114bb46d..ce733cd8 100644
--- a/logic/win32-shortcuts.cpp
+++ b/logic/win32-shortcuts.cpp
@@ -113,6 +113,7 @@ QList<win_key> windows_key_sequences =
win_key(DIK_X, Qt::Key::Key_X ),
win_key(DIK_Y, Qt::Key::Key_Y ),
win_key(DIK_Z, Qt::Key::Key_Z ),
+ win_key(DIK_TAB, Qt::Key::Key_Tab ),
win_key(DIK_RETURN, Qt::Key::Key_Return),
win_key(DIK_INSERT, Qt::Key::Key_Insert),
win_key(DIK_DELETE, Qt::Key::Key_Delete),
@@ -121,6 +122,7 @@ QList<win_key> windows_key_sequences =
win_key(DIK_SCROLL, Qt::Key::Key_ScrollLock),
win_key(DIK_PAUSE, Qt::Key::Key_Pause),
win_key(DIK_NUMLOCK, Qt::Key::Key_NumLock),
+ win_key(DIK_CAPSLOCK, Qt::Key::Key_CapsLock),
#define mod(x, y) static_cast<Qt::Key>(x | y)
win_key(DIK_NUMPAD0, mod(Qt::Key::Key_0, Qt::KeypadModifier)),
win_key(DIK_NUMPAD0, mod(Qt::Key::Key_0, Qt::KeypadModifier)),