mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
MCP: button debugging, plus don't do much/aything on button release
git-svn-id: svn://localhost/ardour2/branches/3.0@11953 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f04b55af3a
commit
d84fedac0a
1 changed files with 6 additions and 0 deletions
|
|
@ -364,6 +364,12 @@ Strip::handle_button (Button& button, ButtonState bs)
|
|||
{
|
||||
button.set_in_use (bs == press);
|
||||
|
||||
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("strip %1 handling button %2\n", _index, button.id()));
|
||||
|
||||
if (bs != press) {
|
||||
return;
|
||||
}
|
||||
|
||||
int lock_mod = (MackieControlProtocol::MODIFIER_CONTROL|MackieControlProtocol::MODIFIER_SHIFT);
|
||||
int ms = _surface->mcp().modifier_state();
|
||||
bool modified = (ms & MackieControlProtocol::MODIFIER_CONTROL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue