diff Source/GUI/MainWindow.cpp @ 12:73703cb77094

Adjust TouchKeys emulation to better match the capabilities of the actual white key sensors.
author Andrew McPherson <andrewm@eecs.qmul.ac.uk>
date Sat, 23 Nov 2013 15:13:27 +0000
parents 3580ffe87dc8
children 73d2ec21de9a
line wrap: on
line diff
--- a/Source/GUI/MainWindow.cpp	Sat Nov 23 14:47:02 2013 +0000
+++ b/Source/GUI/MainWindow.cpp	Sat Nov 23 15:13:27 2013 +0000
@@ -258,10 +258,12 @@
         case kCommandShowControlWindow:
             result.setInfo("TouchKeys Controls", "Show control and mapping window", windowCategory, 0);
             result.setTicked(false);
+            result.addDefaultKeypress ('1', ModifierKeys::commandModifier);
             break;
         case kCommandShowKeyboardWindow:
             result.setInfo("Keyboard Display", "Show keyboard display", windowCategory, 0);
             result.setTicked(false);
+            result.addDefaultKeypress ('2', ModifierKeys::commandModifier);
             break;
             
         default: