I have a cheap keyboard sustain pedal of the basic on/off variety. When the footswitch is pressed down sustain is on, and off when it's released. There is also a polarity switch so that it can be used with different makes of keyboard.
I opened the pedal to apply some grease and when doing so managed to disconnect the wires from the footswitch. I don't know the correct way to reconnect these wires. I have a attached a quickly drawn diagram of how things look.
The smaller rectangle is the polarity switch, which has 3 prongs, and the larger rectangle is the footswitch, with 6 prongs.
I need to know what numbers on the footswitch do the blue, green and red wires connect to, and also if any of the prongs on the footswitch should be connected to each other.
PS. Here's a few more photos as requested. I changed the colours of the wires in my diagram for the sake of clarity (pink in diagram = white, blue = black, green = red, red = also red).