View Single Post
Old 12-09-2019, 10:29 AM   #820
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

This is indeed how I have set up my own mousewheel in the MIDI editor.

However, you don't need the js_ReaScriptAPI extension -- only SWS: Use BR_GetMouseCursorContext() and BR_GetMouseCursorContext_MIDI() to get the part of the MIDI editor under the mouse, and then call the appropriate action from the Actions list with MIDIEditor_OnCommand.
juliansader is offline   Reply With Quote