home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / ibm / pc / misc / 14829 < prev    next >
Encoding:
Text File  |  1992-11-19  |  2.1 KB  |  57 lines

  1. Newsgroups: comp.sys.ibm.pc.misc
  2. Path: sparky!uunet!think.com!spdcc!merk!alliant!mydual!olson
  3. From: olson@mydual.uucp (Kirtland H. Olson)
  4. Subject: Re: Joystick to PC Connection
  5. Message-ID: <1992Nov19.174707.8487@mydual.uucp>
  6. Keywords: schematic diagram
  7. Reply-To: olson%mydual.uucp@alliant.com
  8. Organization: The Harvard Group, 01451-0667
  9. References: <16NOV199210004933@utrc.utc.com>
  10. Date: Thu, 19 Nov 1992 17:47:07 GMT
  11. Lines: 44
  12.  
  13. In article <16NOV199210004933@utrc.utc.com> wjm@utrc.utc.com (Bill) writes:
  14. >I'm looking for some technical info on joystick connection to a PC game 
  15. >port.  I know the game port pin out, but it is somewhat cryptic as to the 
  16. >actual hookup.
  17. >
  18.  
  19. You can attach two joysticks to the controller.  Each joystick follows
  20. this wiring diagram:
  21.  
  22.                    +------------------ 1,9 +5VDC
  23.                    |                   
  24.                    +---/\/\/\-- 0-100K
  25.                    |     ^
  26.                    |     |    X-coord
  27.                    |     +------------ 3,11 Timer
  28.                    |                   
  29.                    +---/\/\/\-- 0-100K
  30.                            ^
  31.                            |  Y-coord
  32.                            +---------- 6,13 Timer
  33.  
  34.                    +------------------ 2,10 One-Shots
  35.                  | o  #1 Button
  36.                  | o
  37.                    +------------------ 4,12 GND
  38.  
  39.                    +------------------ 7,14 One-Shots
  40.                  | o  #2 Button
  41.                  | o
  42.                    +------------------ 4,12 GND
  43.  
  44. Pins 1-7 Are for Joystick A, pins 9-14 are for joystick B.  You can also
  45. use paddles, having only one 0-100K pot and one button per controller. 
  46. The data show up in the same place but are named differently.  Here's a
  47. chart of the the byte at 201H:
  48.  
  49. Bit     |  7  |  6  |  5  |  4  |  3  |  2  |  1  |  0  |
  50. Joystick|B-#2 |B-#1 |A-#2 |A-#1 | B-Y | B-X | A-Y | A-X |
  51. Paddle  |  D  |  C  |  B  |  A  |  D  |  C  |  B  |  A  |
  52. Pin     | 14  | 10  |  7  |  2  | 13  | 11  |  6  |  3  |
  53. Device  |<-------Buttons------->|<------Resistors------>|
  54.  
  55. -- 
  56. Kirtland H. Olson                     olson%mydual.uucp@alliant.com
  57.