home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / ibm / pc / hardware / 33418 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.3 KB  |  40 lines

  1. Newsgroups: comp.sys.ibm.pc.hardware
  2. Path: sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!ifi.uio.no!nntp.uio.no!geirp
  3. From: geirp@gandalf.uio.no (Geir Pedersen)
  4. Subject: How to input through a gameport (was: Re: Help, Joystick values and 1280x1024)
  5. In-Reply-To: olson@mydual.uucp's message of 16 Dec 92 15:35:27 GMT
  6. To: olson%mydual.uucp@alliant.com
  7. Message-ID: <GEIRP.92Dec16221828@gandalf.uio.no>
  8. Sender: news@ulrik.uio.no (Mr News)
  9. Nntp-Posting-Host: gandalf.uio.no
  10. Organization: Center for Information Technology Services, University of Oslo,
  11.     Norway
  12. References: <724450360.15021@minster.york.ac.uk> <1992Dec16.153527.7309@mydual.uucp>
  13. Date: Wed, 16 Dec 1992 21:18:28 GMT
  14. Lines: 24
  15.  
  16.  
  17. I intend to use the gameport to sense the state of some TTL level
  18. signal sources. Each source will stay in one of the states in periods
  19. ranging from a few seconds to a few houres. I have tried to connect
  20. the sources to the button pins of the gameport, but no matter the
  21. state of the input I am only able to read 0xff from the gameport
  22. (inb(0x201)).
  23.  
  24. Reading you article I get the impression that the setup I have might
  25. not be sufficient:
  26.  
  27. >
  28. >                   +------------------ 2,10 One-Shots
  29. >                 | o  #1 Button
  30. >                 | o
  31. >                   +------------------ 4,12 GND
  32. >
  33.  
  34. This confuses me. What is actually ment by "one-shots"? 
  35.  
  36. Thanks,
  37.  
  38. Geir Pedersen.
  39.  
  40.