summaryrefslogtreecommitdiff
path: root/libs/surfaces/push2/push2.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-09 23:26:02 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-09-27 14:59:30 -0500
commitb37531e04f1f8786ffcc8599759aa93411d42c1b (patch)
treeeb6453025b8f829ea1fdf336cdcc8f39438eafa1 /libs/surfaces/push2/push2.h
parent5e407406c419ae578da2821e619b55a8093ac54b (diff)
push2: basics of 4x 4x4 percussive mode, similar to MPC (and vaguely to Live)
Diffstat (limited to 'libs/surfaces/push2/push2.h')
-rw-r--r--libs/surfaces/push2/push2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/surfaces/push2/push2.h b/libs/surfaces/push2/push2.h
index 6180d66813..d1655d1d60 100644
--- a/libs/surfaces/push2/push2.h
+++ b/libs/surfaces/push2/push2.h
@@ -459,6 +459,7 @@ class Push2 : public ARDOUR::ControlProtocol
void button_page_right ();
void button_octave_up ();
void button_octave_down ();
+ void button_layout_press ();
void start_shift ();
void end_shift ();
@@ -532,6 +533,9 @@ class Push2 : public ARDOUR::ControlProtocol
bool _in_key;
int octave_shift;
+
+ bool percussion;
+ void set_percussive_mode (bool);
};