Global mouse tracking
Global mouse tracking
- Subject: Global mouse tracking
- From: Dave <email@hidden>
- Date: Fri, 18 Oct 2002 12:21:26 -0400
I'm rewriting a "classic" Mac OS accessibility control panel as a
background Mac OS X application and I need to continuously monitor the
current global mouse position and periodically post my own events (for
dwell based clicking). CGRemoteOperation.h covers event posting but I'm
looking for a low processor overhead way to monitor mouse movement from
a secondary MPThread in a Carbon app (the main UI thread will be
managing system-wide floating utility windows.) I don't want to resort
to polling unless there is no other way. Ideally, I'm hoping for a
method to register for a global equivalent to "mouse moved" events. I
would also rather not require 10.2 if possible.
Also, to completely duplicate the classic version I need the ability to
detect all of the user's mouse clicks and key presses. I don't
necessarily have to do any processing on them, just know when someone
has physically clicked the mouse or typed on the keyboard as opposed to
one of our synthetic events.
Thanks,
Dave
-----
Dave Warker <email@hidden>
http://warker.com
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.