Article View: comp.sys.ibm.pc.misc
Article #10540Re: Joystick to PC Connection
From: Kirtland H. Olson
Date: Thu, 19 Nov 1992 17:47
Date: Thu, 19 Nov 1992 17:47
44 lines
2187 bytes
2187 bytes
In article <16NOV199210004933@utrc.utc.com> wjm@utrc.utc.com (Bill) writes:
>I'm looking for some technical info on joystick connection to a PC game
>port. I know the game port pin out, but it is somewhat cryptic as to the
>actual hookup.
>
You can attach two joysticks to the controller. Each joystick follows
this wiring diagram:
+------------------ 1,9 +5VDC
|
+---/\/\/\-- 0-100K
| ^
| | X-coord
| +------------ 3,11 Timer
|
+---/\/\/\-- 0-100K
^
| Y-coord
+---------- 6,13 Timer
+------------------ 2,10 One-Shots
| o #1 Button
| o
+------------------ 4,12 GND
+------------------ 7,14 One-Shots
| o #2 Button
| o
+------------------ 4,12 GND
Pins 1-7 Are for Joystick A, pins 9-14 are for joystick B. You can also
use paddles, having only one 0-100K pot and one button per controller.
The data show up in the same place but are named differently. Here's a
chart of the the byte at 201H:
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Joystick|B-#2 |B-#1 |A-#2 |A-#1 | B-Y | B-X | A-Y | A-X |
Paddle | D | C | B | A | D | C | B | A |
Pin | 14 | 10 | 7 | 2 | 13 | 11 | 6 | 3 |
Device |<-------Buttons------->|<------Resistors------>|
--
Kirtland H. Olson olson%mydual.uucp@alliant.com
Technical Details
Message-ID:
<1992Nov19.174707.8487@mydual.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!spdcc!merk!alliant!mydual!olsonReferences:
<16NOV199210004933@utrc.utc.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc.misc Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!spdcc!merk!alliant!mydual!olson From: olson@mydual.uucp (Kirtland H. Olson) Subject: Re: Joystick to PC Connection Message-ID: <1992Nov19.174707.8487@mydual.uucp> Keywords: schematic diagram Reply-To: olson%mydual.uucp@alliant.com Organization: The Harvard Group, 01451-0667 References: <16NOV199210004933@utrc.utc.com> Date: Thu, 19 Nov 1992 17:47:07 GMT Lines: 44