I'm trying to do "toggle triplet/dotted grid" actions for the MIDI editor (similar to AW's toggle action for the arrange).
They work but are currently registered in the Main section. How would I go registering them in the ME section instead ?
My problem currently is, I don't fully understand the COMMAND_T struct. I only know that 32060 is the magic number I have to put there somewhere but that's it.
Here's how it looks currently when regestistering in the Main section (admittedly borrowed a good bit from AW's toggle actions):
Code:
{ { DEFACCEL, "SWS/NF: Toggle triplet grid" }, "_NF_TOGGLETRIPLET_MIDI", NFToggleTripletMIDI, NULL, 0, IsMIDIGridTriplet }