// .setOutputPort(midiOutput)
Why do you need this? It shouldn’t return something useful anyway. However, as you see, the event is triggered. Not sure what the CMC is expecting to update its led, never owned one unfortunately to test it.
All these toggle as expected, not sure why they’re not on your implementation, since from what I see these buttons are bound to note message. You don’t really need a toggle method in the command binding, since toggling is handled internally by the command when it’s supposed to.