home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 18074 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  1.4 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!Germany.EU.net!mpifr-bonn.mpg.de!speckled.mpifr-bonn.mpg.de!mlelstv
  2. From: mlelstv@speckled.mpifr-bonn.mpg.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Two mice
  5. Message-ID: <1993Jan3.155323.12826@mpifr-bonn.mpg.de>
  6. Date: 3 Jan 93 15:53:23 GMT
  7. References: <1993Jan3.120342.10203@aristo.tau.ac.il>
  8. Sender: news@mpifr-bonn.mpg.de
  9. Organization: Max-Planck-Institut f"ur Radioastronomie
  10. Lines: 21
  11. Nntp-Posting-Host: speckled
  12.  
  13. In <1993Jan3.120342.10203@aristo.tau.ac.il> shacha1@tau.ac.il (SHEMESH SHACHAR) writes:
  14. >I thougt of constantly switching back and forth the mouse ports, and
  15. >map them with a high priority input-device handler, but I don't think
  16. >this will work. anyone can comment on that?
  17.  
  18. If you use the gameport.device then the state of each mouse is sampled
  19. (read out) each vblank. There is no 'priority' except maybe in your own
  20. code.
  21.  
  22. Intuition will only handle one mouse. I suggest to turn off mouse handling
  23. for the time the game is played (provide a method to pause the game and
  24. restore mouse handling during pause).
  25. The mouse is handled by input.device, telling it to use mouse port -1
  26. will disable mouse handling.
  27.  
  28. Regards,
  29. -- 
  30. Michael van Elst
  31. UUCP:     universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve
  32. Internet: p554mve@mpirbn.mpifr-bonn.mpg.de
  33.                                 "A potential Snark may lurk in every tree."
  34.