How to use Keyboard Maestro to convert a CC controller to scroll wheel to adjust plugin parameters
Logic has a feature whereby you can mouse over a control in the UI of a plug-in and adjust the parameter with your mouse’s scroll wheel.
Sometimes it would be cool to be able to control the parameters in the same way with a MIDI knob controller, especially one with an endless pot.
Keyboard Maestro can do this for you. Just create the following scripts, or download the macro set below.
With an endless controller, it should keep sending min (0) and max (127) values when you keep scrolling. We need an additional macro to catch these events as we use “increase” or “decrease” to catch the normal events.
In the example script, the knob adjusts the parameter more finely when you hold down the shift key.
You may need to change the values of the scroll amount depending on the sensitivity of your controller. You can obviously reverse the behaviour of the shift key by making the controller move more finely without the shift key held down if you prefer by simply swapping the values (i.e. make ’10’ 30 and ’30’ 10 in the example script).
Change the value “104” in the macro to whichever controller you want mapped, using the MIDI Learn button to select it automatically when you ‘wiggle’ the controller. This will select the correct MIDI controller and cc value automatically.
Once you have the macros running in Keyboard Maestro all you have to do is mouse over the parameter you want to control in a plug-in’s UI and then turn the knob that you’ve mapped.
This doesn’t work for Logic’s mixer unfortunately as those controls are not mapped to scroll events.
However if you use a trackpad you can set it up to drag with three finger scrolling gesture, and then to adjust the fader or pan knobs, etc., you just hover over the control and three-finger swipe on the trackpad.
Set up that gesture in Settings->Accessibility->Pointer control, then press the “Trackpad Options…” button.

Three-Finger Drag
Leave a Reply
Want to join the discussion?Feel free to contribute!