summaryrefslogtreecommitdiff
path: root/gtk2_ardour/pianokeyboard.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-10-27 13:54:47 +0100
committerRobin Gareus <robin@gareus.org>2019-10-27 13:54:47 +0100
commit474a3c5f699c9f31afe98e5cdd26c489e29f7241 (patch)
treeb3700f501fc388c3b871ee249ff5a68cac40770b /gtk2_ardour/pianokeyboard.h
parentb53431a0890fc215a1de12f7b4756729dd6c7440 (diff)
Virtual-keyboard: allow octave switches while hand-pedaling
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 7380cb5ec1..d4435e56b2 100644
--- a/gtk2_ardour/pianokeyboard.h
+++ b/gtk2_ardour/pianokeyboard.h
@@ -141,6 +141,7 @@ private:
std::map<std::string, int> _key_bindings; /**< Table used to translate from PC keyboard character to MIDI note number. */
std::map<int, std::string> _note_bindings; /**< Table to translate from MIDI note number to PC keyboard character. */
+ std::map<std::string, int> _note_stack;
/* these are only valid during expose/draw */
PangoFontDescription* _font_cue;