summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-17 08:33:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-17 08:34:01 +0200
commit59897ded74a13e2a31a60f9443a64a59e97bb386 (patch)
tree9c377a026db61da0e1fd8ec6a2febcb3a71f1ffe /opentrack
parentf314ef0afb4f9f5eb2a3bbd7f49d23fc77728330 (diff)
shortcuts: allow for binding scroll lock and pause/break
Print screen doesn't seem to work. Issue: #257
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/win32-shortcuts.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/opentrack/win32-shortcuts.cpp b/opentrack/win32-shortcuts.cpp
index bd51ae88..ceee2f9b 100644
--- a/opentrack/win32-shortcuts.cpp
+++ b/opentrack/win32-shortcuts.cpp
@@ -109,6 +109,9 @@ QList<win_key> windows_key_sequences =
win_key(DIK_RETURN, Qt::Key::Key_Return),
win_key(DIK_INSERT, Qt::Key::Key_Insert),
win_key(DIK_SPACE, Qt::Key::Key_Space),
+ //win_key(DIK_SYSRQ, Qt::Key::Key_Print),
+ win_key(DIK_SCROLL, Qt::Key::Key_ScrollLock),
+ win_key(DIK_PAUSE, Qt::Key::Key_Pause),
});
bool win_key::to_qt(const Key& k, QKeySequence& qt_, Qt::KeyboardModifiers &mods)