mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
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
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue