Christopher Belcher has developed a small circuit board for testing a joystick cable. You connect the cable to the circuit board and use the test-probe for testing the wires. It will also show you the function of each wire with the corresponding LED.