My sustain pedal acts reversely, how to invert it?

1. Open the MIDI Control Center
2. Press on the "sync" bouton
3. Click on the Sustain pedal input
4. In the "Selected Control Parameters" section, set the Min to 127 and Max to 0
5. Press the Store Button

Your pedal should now act as you expect it to.