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