Make ctl put v-pot in fine mode.
This commit is contained in:
parent
9e44e46c4a
commit
f8c4c0b5b8
@ -492,7 +492,13 @@ Surface::handle_midi_controller_message (MIDI::Parser &, MIDI::EventTwoBytes* ev
|
|||||||
*/
|
*/
|
||||||
ticks = 1;
|
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 (!pot) {
|
||||||
if (ev->controller_number == Jog::ID && _jog_wheel) {
|
if (ev->controller_number == Jog::ID && _jog_wheel) {
|
||||||
|
Loading…
Reference in New Issue
Block a user