I just purchased 2 PS2 controller connector cables. The diagram provided on this website has different cable colouring than what I received.
The new colouring appear to be:
4 pin connector used for SPI
pin 1 - brown - data - pin 9
pin 2 - orange - command - pin 8
pin 3 - yellow - attention - pin 4
pin 4 - blue - clock - pin 3
2 pin connector used for power
pin 1 - white and black - ground - pin 6
pin 2 - red - 5V power - pin 5
grey wire - vibration motor - pin 7
green wire - acknowledgement - pin 1