Disable frontend Macros on right click
-
Hey all, I'm using the frontend macro system. When right-clicking any knob or button, the right click menu shows "Assign Macro / Connect to 1/2/3", which is great for most controls.
However, I'd like to suppress this menu on specific controls, particularly the macro knobs themselves I have on my UI. Showing "Connect to 1/2/3" on a control that is already a dedicated macro control feels confusing from a UX perspective.
I also need MIDI learn on these controls, so disabling that isn't an option.
Is there a per-control property to disable the macro assignment menu? If not, would this be feasible as a feature request?
-
@paper_lung I believe the Macro system is something of a "deprecated" system, and it's pretty limited in terms of customizability:
https://forum.hise.audio/topic/1785/documentation-on-macros-anywhere/8
Two options:
- Roll your own system via HISE ]script.
- Edit the source code.
Personally I don't see any issues with the Macro System, I think it's pretty good and just needs a bit of updating. More API calls, a few QOL improvements, and it is actually pretty useful. A few features I'd like to see are mainly in the FrontendMacroPanel like being able to set a skew amount on the mapping and changing the parameter's to display the parameter text rather than the parameter ID (Instead of "knbReverb", it will just display "Reverb").
But I think your request is quite reasonable. Depending on the interest here I could make some edits and pr request with these features.
-
I think you can probably do it using the MidiAutomationHandler: https://docs.hise.dev/scripting/scripting-api/midiautomationhandler/index.html