Universal piano style sustain pedal 6.35mm plug
Piano style sustain pedal suitable for most pianos with a 6.35mm mono jack plug
With you keyboard turned OFF plug in the pedal
Turn keyboard on and try sustain pedal, if it appears to work in reverse then turn off the keyboard, change the switch on the side, turn keyboard on again and it should now be working correctly.
Cable approximately 6 feet long