MCP: track control press/release events
git-svn-id: svn://localhost/ardour2/branches/3.0@11933 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -67,12 +67,14 @@ LedState
|
||||
MackieControlProtocol::control_press (Button &)
|
||||
{
|
||||
_modifier_state |= MODIFIER_CONTROL;
|
||||
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("CONTROL Press: modifier state now set to %1\n", _modifier_state));
|
||||
return on;
|
||||
}
|
||||
LedState
|
||||
MackieControlProtocol::control_release (Button &)
|
||||
{
|
||||
_modifier_state &= ~MODIFIER_CONTROL;
|
||||
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("CONTROL Release: modifier state now set to %1\n", _modifier_state));
|
||||
return on;
|
||||
}
|
||||
LedState
|
||||
|
||||
Reference in New Issue
Block a user