Pin Assignment of a Gameport
The gameport-interface has 15 pins on all PCs. Below there is a view on a gameport connector (male, the numbering of the female side is just the other way round). You can in most cases also find the numbers on the connectors if you have a close look on them.
The pin assignment is as follows:
Gameport without Midi:
|3||Analog 1 (Joystick 1 X-Axis)|
|6||Analog 2 (Joystick 1 Y-Axis)|
|11||Analog 3 (Joystick 2 X-Axis)|
|13||Analog 4 (Joystick 2 Y-Axis)|
Nowadays, most gameports are part of a soundcard. These gameports are also Midi-ports. Because of this, they have some slight differences in their pin assignment. The pins number 12 and 15 are no longer assigned to GND and Vcc, but are now used as "Midi TXD" (transmit, pin 12) and "Midi RXD" (receive, pin 15).