home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!jato!jdickson
- From: jdickson@jato.jpl.nasa.gov (Jeff Dickson)
- Subject: Re: gameport device vs. input device
- Message-ID: <1992Aug28.182725.1768@jato.jpl.nasa.gov>
- Organization: Jet Propulsion Laboratory
- References: <1992Aug28.174032.4126@galileo.cc.rochester.edu>
- Date: Fri, 28 Aug 1992 18:27:25 GMT
- Lines: 29
-
- In article <1992Aug28.174032.4126@galileo.cc.rochester.edu> rjw@merlin.cvs.rochester.edu (Robert Wilson) writes:
- >I'm trying to use the input device to pick up character input, and the
- >gameport device to pick up mouse input from both ports. This is for a
- >psych. experiment, so the gameports have to be on equal standing: hence
- >my need for using the gameport device.
- >
- >Unfortunately, the input device seems to be making things difficult for
- >the gameport device.
- >
- >** My question: is it possible to make the input device unaware of the
- >gameports? I want all mouse events to go the gameport device, and only
- >to the gameport device.
- >
- >This is all nasty, and un-Amiga-ish, but this is an experiment, so no
- >other programs will be running concurrently.
- >
- >-Robert
- > rjw@cvs.rochester.edu
-
- The input device task opens the gameport device when it begins and packages
- any and all mouse events that occur into IECLASS_RAWMOUSE input events. Key-
- board activity too causes IECLASS_RAWKEY input events to be generated. You
- can become a handler of the input device chain (See the RKM Libraries and
- Devices chapter on the Input Device). As far an equal standing goes, they're
- both packaged as input events and you can see them in the order they occurred.
-
- jeff
-
-
-