From c8fa6d2099874e0f2c9bd72f9c6735ebf31ccbb1 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 25 Oct 2015 07:07:27 +0100 Subject: shortcuts: allow for numlock on win32 --- opentrack/win32-shortcuts.cpp | 1 + 1 file changed, 1 insertion(+) 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 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) -- cgit v1.2.3