summaryrefslogtreecommitdiff
path: root/libs/surfaces/push2/buttons.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces/push2/buttons.cc')
-rw-r--r--libs/surfaces/push2/buttons.cc25
1 files changed, 24 insertions, 1 deletions
diff --git a/libs/surfaces/push2/buttons.cc b/libs/surfaces/push2/buttons.cc
index 1db04f486e..84a6aee389 100644
--- a/libs/surfaces/push2/buttons.cc
+++ b/libs/surfaces/push2/buttons.cc
@@ -17,7 +17,6 @@ Push2::button_play ()
void
Push2::button_recenable ()
{
- std::cerr << "RE toggle\n";
rec_enable_toggle ();
}
@@ -32,3 +31,27 @@ Push2::button_down ()
{
scroll_dn_1_track ();
}
+
+void
+Push2::button_right ()
+{
+ ScrollTimeline (0.75);
+}
+
+void
+Push2::button_left ()
+{
+ ScrollTimeline (-0.75);
+}
+
+void
+Push2::button_repeat ()
+{
+ loop_toggle ();
+}
+
+void
+Push2::button_metronome ()
+{
+ toggle_click ();
+}