home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12820 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.6 KB  |  40 lines

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