MCP: Momentarily light buttons when they are used to trigger a defined action.
*This is mainly for F-keys *If a button is not assigned an action, it will not light, hopefully indicating to the user that it is unmapped.
This commit is contained in:
parent
47291389bc
commit
e6e2b6800e
@ -1549,10 +1549,12 @@ MackieControlProtocol::handle_button_event (Surface& surface, Button& button, Bu
|
||||
occur either.
|
||||
*/
|
||||
if (bs == press) {
|
||||
update_led (surface, button, on);
|
||||
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("executing action %1\n", action));
|
||||
access_action (action);
|
||||
} else {
|
||||
update_led (surface, button, off);
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user