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