Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Information for Mouse Movement analysis?

Information for Mouse Movement analysis?
Thread Tools
Sharky K.
Mac Elite
Join Date: Oct 2001
Location: Europe
Status: Offline
Reply With Quote
Oct 30, 2005, 08:12 AM
 
Hi,

I am looking for registration of mouse movements. Speed, coordination and location. Does anyone know how this can be done easily?

Or is there already a lot of public data about this?
     
Dair Grant
Fresh-Faced Recruit
Join Date: Jan 2002
Status: Offline
Reply With Quote
Oct 30, 2005, 12:37 PM
 
Register for kEventMouseMoved and kEventMouseDragged events - see CarbonEvents.h.

You will need to calculate the speed yourself (given the delta and/or position of each event, and GetEventTime), and may want to turn off mouse coalescing (SetMouseCoalescingEnabled) to ensure you get every event rather than letting the system merge events together.

If by "coordination" you mean tablet information (angle, pressure, etc) then these events also carry this state.
     
Sharky K.  (op)
Mac Elite
Join Date: Oct 2001
Location: Europe
Status: Offline
Reply With Quote
Oct 30, 2005, 04:05 PM
 
it is for UI analysis, is it also possible to gather this data without programming?
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 12:28 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,