home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!cs.utexas.edu!rutgers!concert!uvaarpa!murdoch!murdoch.acc.virginia.edu!aj3u
- From: aj3u@larch.cs.virginia.edu (Asim Jalis)
- Newsgroups: comp.sys.sgi
- Subject: Mouse Interrupts
- Message-ID: <AJ3U.93Jan1103135@larch.cs.virginia.edu>
- Date: 1 Jan 93 15:31:35 GMT
- Sender: usenet@murdoch.acc.Virginia.EDU
- Distribution: comp
- Organization: University of Virginia, Charlottesville, VA 22903
- Lines: 25
-
- 1. What mechanism does IRIX use to determine if a mouse button
- has been pressed? I assume it uses interrupts but I am not sure.
-
- 2. How much time does it take between a mouse button being
- pressed and a user program running in non-preemptable mode (i.e.
- with a highest non-degrading priority) being informed about it if
- it is using qtest() to constantly check the status of the event
- queue.
-
- 3. Is there another way to find out the status of the mouse, or
- to set up some kind of a signal that would interrupt the program
- if the mouse button is pressed, that is presumably faster than
- using qtest()? And there is such a way, then how much time does
- it take between a mouse press and the program being informed
- about it?
-
- 4. If the information required by questions (2) and (3) is
- unknown then how can I determine it? I have been thinking about
- a possible software solution, but I have not been able to come up
- with anything satisfactory.
-
- I would appreciate any help or hints.
-
-
- Asim Jalis.
-