mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue