summaryrefslogtreecommitdiff
path: root/gtk2_ardour/pianokeyboard.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-12-26 12:17:20 +0100
committerRobin Gareus <robin@gareus.org>2019-12-26 12:17:20 +0100
commitb942eecc9c84f5d27e1e478c2c4ca69ab1fb8c0c (patch)
treefed39d8ca176d177cba3dbe6d9a7f3c311c0b636 /gtk2_ardour/pianokeyboard.h
parentb228dce1c1a8f006df6b5c30ede5a02460f2e766 (diff)
Vkeybd: force release notes on panic
If key(s) are still being pressed, a key-repeat will re-trigger the most recently pressed note (depending on keyboard settings).
Diffstat (limited to 'gtk2_ardour/pianokeyboard.h')
-rw-r--r--gtk2_ardour/pianokeyboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/pianokeyboard.h b/gtk2_ardour/pianokeyboard.h
index 042afcd283..bf92e20936 100644
--- a/gtk2_ardour/pianokeyboard.h
+++ b/gtk2_ardour/pianokeyboard.h
@@ -52,6 +52,7 @@ public:
void set_note_on (int note);
void set_note_off (int note);
+ void reset ();
void set_grand_piano_highlight (bool enabled);
void set_annotate_layout (bool enabled);