perhaps you could check your keyboard manual to see what kinda sustainer it needs. seems that it requires 1 that is opposite to what you have.
if there's no switch as soft has said....then you could rewired the pedal/keyboard. However, it might not be easy as switching wires, cause i would think that it works on detecting a closed/open circuit. And if you switch the wires around, it wouldn't change anything.
Han