mackie: make group button (appear) to do something
This commit is contained in:
@@ -123,6 +123,7 @@ MackieControlProtocol::MackieControlProtocol (Session& session)
|
||||
, _initialized (false)
|
||||
, configuration_state (0)
|
||||
, state_version (0)
|
||||
, _group_on (false)
|
||||
{
|
||||
DEBUG_TRACE (DEBUG::MackieControl, "MackieControlProtocol::MackieControlProtocol\n");
|
||||
|
||||
|
||||
@@ -355,6 +355,7 @@ class MackieControlProtocol
|
||||
XMLNode* configuration_state;
|
||||
int state_version;
|
||||
int _last_bank[9];
|
||||
bool _group_on;
|
||||
|
||||
boost::shared_ptr<ArdourSurface::Mackie::Surface> _master_surface;
|
||||
|
||||
|
||||
@@ -985,7 +985,8 @@ MackieControlProtocol::grp_press (Mackie::Button&)
|
||||
Mackie::LedState
|
||||
MackieControlProtocol::grp_release (Mackie::Button&)
|
||||
{
|
||||
return none;
|
||||
_group_on = !_group_on;
|
||||
return _group_on;
|
||||
}
|
||||
Mackie::LedState
|
||||
MackieControlProtocol::nudge_press (Mackie::Button&)
|
||||
|
||||
Reference in New Issue
Block a user