13
0

MCP: hack test for ssl nucleus fader touch

git-svn-id: svn://localhost/ardour2/branches/3.0@11970 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-04-14 11:39:25 +00:00
parent 3789e7cdef
commit 32766ce215
2 changed files with 2 additions and 4 deletions

View File

@ -36,7 +36,7 @@ public:
mute_base_id = 0x10,
select_base_id = 0x18,
vselect_base_id = 0x20,
fader_touch_base_id = 0xe0,
fader_touch_base_id = 0x68, // 0xe0,
};
enum ButtonID {

View File

@ -417,9 +417,7 @@ Strip::handle_button (Button& button, ButtonState bs)
}
if ((button.id() >= Button::fader_touch_base_id &&
button.id() < Button::fader_touch_base_id + 8) ||
/* Hack for SSL Nucleus */
(button.id() >= 104 && button.id() < 112)) {
button.id() < Button::fader_touch_base_id + 8)) {
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("fader touch, press ? %1\n", (bs == press)));