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

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