From fa7c8f60137b08969e5162065104ee7c1b5ef44c Mon Sep 17 00:00:00 2001 From: Jan Lentfer Date: Mon, 20 Aug 2018 20:41:02 +0200 Subject: LCXL: Add some Mixbus functionality in the mixer mode secondary functions (Device/Hold) of knobs per track will map as follows: Send A - trim (same as for Ardour) Send B - HPF Freq PAN - Compressor threshold --- libs/surfaces/launch_control_xl/launch_control_xl.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libs/surfaces/launch_control_xl/launch_control_xl.cc b/libs/surfaces/launch_control_xl/launch_control_xl.cc index b542efe2fa..f92d6125aa 100644 --- a/libs/surfaces/launch_control_xl/launch_control_xl.cc +++ b/libs/surfaces/launch_control_xl/launch_control_xl.cc @@ -467,13 +467,21 @@ LaunchControlXL::handle_knob_message (Knob* knob) } } else if (knob->id() >= 8 && knob->id() < 16) { // sendB knob if (buttons_down.find(Device) != buttons_down.end()) { // Device button hold +#ifdef MIXBUS + ac = stripable[chan]->filter_freq_controllable (true); +#else /* something */ +#endif } else { ac = stripable[chan]->send_level_controllable (1); } } else if (knob->id() >= 16 && knob->id() < 24) { // pan knob if (buttons_down.find(Device) != buttons_down.end()) { // Device button hold +#ifdef MIXBUS + ac = stripable[chan]->comp_threshold_controllable(); +#else ac = stripable[chan]->pan_width_control(); +#endif } else { ac = stripable[chan]->pan_azimuth_control(); } -- cgit v1.2.3