Inverting Midi CC from expression pedal

Thank you so much - Groove Agent was driving me nuts misunderstanding the “polarity” of my hi-hat control pedal, but this is a great workaround!