summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-25 07:07:27 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-10-25 07:07:27 +0100
commitc8fa6d2099874e0f2c9bd72f9c6735ebf31ccbb1 (patch)
treed201af26d7ca5d1d9b516e7e263d9fa5316fedb6
parent65e7ee7c96bed4998c517eab98476eccf68b6a4f (diff)
shortcuts: allow for numlock on win32
-rw-r--r--opentrack/win32-shortcuts.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/opentrack/win32-shortcuts.cpp b/opentrack/win32-shortcuts.cpp
index 96232631..e3a5448e 100644
--- a/opentrack/win32-shortcuts.cpp
+++ b/opentrack/win32-shortcuts.cpp
@@ -120,6 +120,7 @@ QList<win_key> windows_key_sequences =
win_key(DIK_SYSRQ, Qt::Key::Key_Print),
win_key(DIK_SCROLL, Qt::Key::Key_ScrollLock),
win_key(DIK_PAUSE, Qt::Key::Key_Pause),
+ win_key(DIK_NUMLOCK, Qt::Key::Key_NumLock),
});
bool win_key::to_qt(const Key& k, QKeySequence& qt_, Qt::KeyboardModifiers &mods)