MCP: zoom button toggles led
git-svn-id: svn://localhost/ardour2/branches/3.0@11850 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9f5a9a2447
commit
5d0858940b
@ -1686,15 +1686,14 @@ jog_wheel_state_display (JogWheel::State state, SurfacePort & port)
|
||||
Mackie::LedState
|
||||
MackieControlProtocol::zoom_press (Mackie::Button &)
|
||||
{
|
||||
_zoom_mode = true;
|
||||
return on;
|
||||
_zoom_mode = !_zoom_mode;
|
||||
return (_zoom_mode ? on : off);
|
||||
|
||||
}
|
||||
|
||||
Mackie::LedState
|
||||
MackieControlProtocol::zoom_release (Mackie::Button &)
|
||||
{
|
||||
_zoom_mode = false;
|
||||
return off;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user