From bfa402c6c537705f1e17da00400a353c4fecd30c Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 18 Jan 2021 15:37:26 -0500 Subject: [PATCH] Change Ctrl and Shift+ctrl knob adjustment speeds to 1/10 and 1/100. --- src/app/Knob.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/Knob.cpp b/src/app/Knob.cpp index aaf7eb71..5daa5eb3 100644 --- a/src/app/Knob.cpp +++ b/src/app/Knob.cpp @@ -115,11 +115,11 @@ void Knob::onDragEnd(const event::DragEnd& e) { static float getModSpeed() { int mods = APP->window->getMods(); if ((mods & RACK_MOD_MASK) == RACK_MOD_CTRL) - return 1 / 16.f; + return 1 / 10.f; else if ((mods & RACK_MOD_MASK) == GLFW_MOD_SHIFT) return 4.f; else if ((mods & RACK_MOD_MASK) == (RACK_MOD_CTRL | GLFW_MOD_SHIFT)) - return 1 / 256.f; + return 1 / 100.f; else return 1.f; }