summaryrefslogtreecommitdiff
path: root/gtk2_ardour/virtual_keyboard_window.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-12-15 13:58:03 +0100
committerRobin Gareus <robin@gareus.org>2019-12-15 14:06:00 +0100
commita31fde491a47e8fba6dbef7f174277f0ecf3211c (patch)
tree0a806ef1658092df2ff92b1eaa4d1782b581d911 /gtk2_ardour/virtual_keyboard_window.h
parentb2bc934e218a8ed05b6f37edc5585191e60ca288 (diff)
VKeybd: Pitchebend sprung mode and keyboard-shortcuts
This unconditionally returns the pitch-bend wheel when used by mouse-drag/drop. Mouse-wheel retains the "wheel" mode. <F1>-<F4> key-bindings have been added to jump to discrete values
Diffstat (limited to 'gtk2_ardour/virtual_keyboard_window.h')
-rw-r--r--gtk2_ardour/virtual_keyboard_window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/virtual_keyboard_window.h b/gtk2_ardour/virtual_keyboard_window.h
index 7248d14023..dc5b63df5e 100644
--- a/gtk2_ardour/virtual_keyboard_window.h
+++ b/gtk2_ardour/virtual_keyboard_window.h
@@ -98,11 +98,13 @@ protected:
private:
void on_unmap ();
bool on_key_press_event (GdkEventKey*);
+ bool on_key_release_event (GdkEventKey*);
void note_on_event_handler (int, int);
void note_off_event_handler (int);
void control_change_event_handler (int, int);
void pitch_bend_event_handler (int);
+ void pitch_bend_release ();
void select_keyboard_layout (std::string const&);
void update_velocity_settings (int);