One of these days my sustain and expression pedals started behaving strangely, like their polarity is reversed. I have checked all the settings both on the pedal and the keyboard. But everything is as it were when it was working, nothing has changed. I have checked the cables, replugged them, made sure they are in the correct sockets, but it doesn't work. I checked a midi inspector and the pedal is not sending any data, then i tried the assign 1 port to be sure. There, i could see that the midi inspector was reading data accordingly at each level. But as soon as i hit done on calibration, the pedal stopped working again. Also, the sustain pedal is behaving strangely when i put it in. It's continuously emiting data without being pressed. Once again i checked the corect settings on the pedal and the keyboard. Everything is as it were. What could this be?