PCB TOOLS / Electronics reference

PC gameport and MIDI extension pinout

Distinguish DA-15 analog joystick axes/buttons from sound-card MIDI extensions.

Quick answer

The classic port has four axes/four buttons; MIDI extensions can repurpose12 as transmit and 15 as receive, originally ground and supply.

Scope

Historical scope: PC-compatible analog gameport and Creative-style extensions, not VGA DE-15, RS232 or the DIN MIDI electrical layer.

Reading example

Joystick1 X/Y use3/6 and buttons1/2 use2/7; confirm the card and dedicated adapter before using MIDI.

Legacy tables with visible corrections

DA-15 gameport axes/buttons and conditional MIDI roles on12/15
DA-15 gameport axes/buttons and conditional MIDI roles on12/15. Original functional list;not a verified mating/solder-side view,not to scale.
PC gameport and MIDI extension pinout function allocation
PinSignalDescription
1+5V+5V DC
2B1Button 1
3X1X axis for joystick 1 (0–100 kΩ)
4GNDGround for B1
5GNDGround for B2
6Y1Y axis for joystick 1 (0–100 kΩ)
7B2Button 2
8+5V+5V DC
9+5V+5V DC
10B4Button 4
11X2X axis for joystick 2 (0–100 kΩ)
12GNDGround for buttons 3 and 4 (or MIDI out)
13Y2Y axis for joystick 2 (0–100 kΩ)
14B3Button 3
15+5 V+5 V DC (or MIDI in, sometimes unconnected)
Legacy source notes and applicability

These notes retain the legacy record. For corrected facts and applicability, use this page’s quick answer, scope and visible table corrections.

Male DA-15
Some joysticks supports more than 4 buttons (by using pins and input meant for the second joystick, using normally unused pins, or changing the joystick's circuits to read a 4-bit state code) but typically require a special device driver for the additional buttons to work.
Some high-end joysticks rely on multiplexing data through the 4 standard button inputs and/or the unused pins, achieving support for a rather high number of buttons and special features such as daisy-chaining, force feedback or joystick programming.
MIDI connectors
Since the game port moved to sound cards, these connectors usually double as connectors for MIDI instruments; two of the redundant +5V and GND pins of the original standard were rededicated to MIDI input and output.

Frequently asked questions

Is DA-15 the same as VGA 15-pin?

No.The gameport is two-row DA-15; VGA is three-row high-density DE-15.

Can MIDI OUT be wired to any gameport pin 12?

No.The original pin 12 is ground; only a specified MIDI-capable implementation repurposes it.

Related tools and references

Sources and verification

Legacy baseline: the Electrodoc Pro 5.2 data package. Raw records are retained and checked factual corrections are shown explicitly.