diff options
author | Robin Gareus <robin@gareus.org> | 2019-10-26 23:49:57 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-10-26 23:49:57 +0200 |
commit | 9fd0813d16e379890eaba29e407e27a66fd8eba1 (patch) | |
tree | 034eddc0b55a39c2c2946da03415c84fc914b235 /gtk2_ardour/pianokeyboard.h | |
parent | f1d614b15dd812d6d373520b0c4117dcd1c29c03 (diff) |
Add support for single-octave "asdfg.." key-bindings
Diffstat (limited to 'gtk2_ardour/pianokeyboard.h')
-rw-r--r-- | gtk2_ardour/pianokeyboard.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/pianokeyboard.h b/gtk2_ardour/pianokeyboard.h index b3089f4d0b..7380cb5ec1 100644 --- a/gtk2_ardour/pianokeyboard.h +++ b/gtk2_ardour/pianokeyboard.h @@ -39,7 +39,9 @@ public: QWERTY, QWERTZ, AZERTY, - DVORAK + DVORAK, + S_QWERTY, + S_QWERTZ }; void sustain_press (); @@ -90,6 +92,9 @@ private: void bind_keys_azerty (); void bind_keys_dvorak (); + void bind_keys_basic_qwerty (); + void bind_keys_basic_qwertz (); + int get_note_for_xy (int x, int y) const; int get_velocity_for_note_at_y (int note, int y) const; |