From a5009bfed3baef497969addb2ecc2f4e8fdd482b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 8 Apr 2019 02:05:36 +0200 Subject: [PATCH] Indicate automation-latch as "touch" on the CC121 Without a dedicated "Latch" control, this does at least consistently indicate "Touch", rather than show some arbitrary LED state. --- libs/surfaces/cc121/cc121.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/surfaces/cc121/cc121.cc b/libs/surfaces/cc121/cc121.cc index 76e175bb21..dce1a63b54 100644 --- a/libs/surfaces/cc121/cc121.cc +++ b/libs/surfaces/cc121/cc121.cc @@ -1115,6 +1115,7 @@ CC121::map_auto () get_button (EButton).set_led_state (_output_port, false); get_button (OpenVST).set_led_state (_output_port, false); break; + case ARDOUR::Latch: case ARDOUR::Touch: get_button (EButton).set_led_state (_output_port, true); get_button (FP_Read).set_led_state (_output_port, false);