Basically, I take each gate from my 12 notes on the keyboard, run them into CountModula Slope Detector so that I can trigger on/off on each the rise (keypress, trigger on) and fall (key release, trigger off). These triggers get OR’d by the audible instruments logic and then umap’d to the corresponding key on the quantizer. Then repeat x12.
Yes, there’s an easier way The quantizer from ML has inputs just for this so it’s just plug and play.
I go through the process here - https://youtu.be/NyFtrWNRTME?t=539
Let me know if it works for you.
Besides Omri‘s suggestion you can use MIDI-CAT which allows mapping of MIDI notes directly. It also has a toggle mode if you want to toggle the buttons.