The table below shows the standard game port signals and their pin assignments. Joystick cables terminate in a male DB15 that mates with the female DB15 game port connector found on a game cards or multi I/O cards.
Pin Signal Description
--------------------------------------------------------------
1 Vcc +5 volts DC
2 B1A Button 1, joystick A
3 XA X axis resistance, joystick A
4 GND Ground
5 GND Ground
6 YA Y axis resistance, joystick A
7 B2A Button 2, joystick A
8 Vcc +5 volts DC
9 Vcc +5 volts DC
10 B1B Button 1, joystick B
11 XB X axis resistance, joystick B
12* GND Ground
13 YB Y axis resistance, joystick B
14 B2B Button 2, joystick B
15* Vcc +5 volts DC
* On sound cards with a combination joystick/MIDI connector, pin
12 is MIDI Out and pin 15 is MIDI In.
Looking at the DB15M pins on the joystick cable:
--------------------------------------------------
\ 01 02 03 04 05 06 07 08 /
\ /
\ 09 10 11 12 13 14 15 /
--------------------------------------------