LCXL: add isolate solo as secondary function
Holding the Device button and press one of the Track Focus button will toggle solo isolation on the correspongind track
This commit is contained in:
parent
4789147482
commit
5e67630b23
@ -305,6 +305,12 @@ LaunchControlXL::update_track_focus_led(uint8_t n)
|
||||
void
|
||||
LaunchControlXL::button_track_focus(uint8_t n)
|
||||
{
|
||||
if (buttons_down.find(Device) != buttons_down.end()) {
|
||||
DEBUG_TRACE (DEBUG::LaunchControlXL, "DEVICE BUTTON HOLD\n");
|
||||
stripable[n]->solo_isolate_control()->set_value (!stripable[n]->solo_isolate_control()->get_value(), PBD::Controllable::UseGroup);
|
||||
return;
|
||||
}
|
||||
|
||||
if (stripable[n]) {
|
||||
if ( stripable[n]->is_selected() ) {
|
||||
ControlProtocol::RemoveStripableFromSelection (stripable[n]);
|
||||
|
Loading…
Reference in New Issue
Block a user