13
0

MackieControl: Make ctl put v-pot in fine mode.

This commit is contained in:
Paul Davis 2015-06-04 17:58:24 -04:00
parent bc945bb3d3
commit de2f4cc321

View File

@ -492,7 +492,13 @@ Surface::handle_midi_controller_message (MIDI::Parser &, MIDI::EventTwoBytes* ev
*/
ticks = 1;
}
float delta = sign * (ticks / (float) 0x3f);
float delta = 0;
if (mcp().modifier_state() == MackieControlProtocol::MODIFIER_CONTROL) {
delta = sign * (ticks / (float) 0xff);
} else {
delta = sign * (ticks / (float) 0x3f);
}
if (!pot) {
if (ev->controller_number == Jog::ID && _jog_wheel) {