13
0

Make ctl put v-pot in fine mode.

This commit is contained in:
Len Ovens 2015-06-04 14:04:46 -07:00
parent 9e44e46c4a
commit f8c4c0b5b8

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) {