[comp.sys.mac] GetMouse et al.

mnkonar@pavo.SRC.Honeywell.COM (Murat N. Konar) (10/26/88)

A question:
How do the mouse routines like WaitMouseUp, Button, StillDown, GetMouse,
and others(I can't remember if there are any others at the moment) get
their information?  Do they directly read the mouse or do they use the 
event queue?  Any insights welcome either on the net or by mail.
__________________________
Have a day. :^|
Murat N. Konar mnkonar@ely.UUCP
Honeywell Systems & Research Center, Camden, MN

bob@eecs.nwu.edu (Bob Hablutzel) (10/27/88)

> How do the mouse routines like WaitMouseUp, Button, StillDown, GetMouse,
> and others(I can't remember if there are any others at the moment) get
> their information?  Do they directly read the mouse or do they use the 
> event queue?  Any insights welcome either on the net or by mail.

GetMouse, WaitMouseUp, and Button I don't think use the event manager, but
I could be wrong. I know for a fact that StillDown _does_ use the
event manager to see if a mouse up event is pending (If a mouse up event
is pending, then the mouse has been released and reclicked. Thus a
StillDown boils down to a Button & Not( EventAvail( MouseUp ))). StillDown
does not remove the mouseUp from the queue.

Bob Hablutzel		BOB@NUACC.ACNS.NWU.EDU