[comp.sys.ibm.pc.hardware] IBM Game Port Pinouts

trljim@ubvmsa.cc.buffalo.edu (James Sonnenmeier) (04/02/91)

To anyone on the net ... I am building a joystick for my AT .. I have a two
pot gimbal w/ trims and two buttons ... I had it at one time but I need the 
pinouts of the 15 pin game port connector .. where do I assign which wire?

I know that its not terribly complicated but I just don't have a source for 
info .. ANY help would be greatly appreciated. :)

==========================================================================
Jim Sonnenmeier                  !
TRLJIM@UBVMS.BITNET  : BITNET    !    :-)
[72361,2133]  : CompuServe       !    I like to think that time and space
University at Buffalo            !    are ours to use :) ... The sky is my
Department of Mechanical/        !    joy, the wind is my lift.
Aerospace Engineering            !  
==========================================================================

jm9t+@andrew.cmu.edu (Josh Brian Mastronarde) (04/02/91)

Just happen to have it right here.  I found this by experimenting, so
it's possible these are not the approved pinouts, but they work.  (Hint,
when it smokes, you've got the wrong pins :-)

Pin  Function
-----------------------------------------------
1    +5 V
2    Stick A, top button
3    Stick A, x position
4    ground
5    ground
6    Stick A, y position
7    Stick B, top button
8    ???, maybe +5 V, but it shouldn't matter
9    ???
10   Stick A, back button
11   Stick B, x position
12   ground
13   Stick B, y position
14   Stick B, back button

The buttons are connected as simple switches between +5 V and the
button's pin.  (Or between ground and the pin, I don't have it written
down.  Try it, that by itself can't hurt anything).  The position
potentiometers are connected with the fixed resistor part (the outer
pins of the potentiometer) connected to ground and +5 V, and the
variable part (the center pin) to the position's pin.

Hope this helps.  As always, if you blow up your computer, it's not my
fault. :-)

-Josh Mastronarde
-jm9t+@andrew.cmu.edu