Code covered by the BSD License  

Highlights from
Mouse Activity Tracking

Be the first to rate this file! 27 Downloads (last 30 days) File Size: 3.64 KB File ID: #29117
image thumbnail

Mouse Activity Tracking

by Michael Chan

 

22 Oct 2010 (Updated 24 Oct 2010)

Illustrates mouse activity tracking.

| Watch this File

File Information
Description

main executing reference usage: mouseTracker.m

The objective is to illustrate mouse activity tracking.
This is an enhanced version of gtrack. The enhancement includes:
1. Direction determination
2. Polar coordinates computation (includes distance and angle of direction moved).
3. Mouse dragging detection
4. Mouse Button tracking (ie. which button, and button up/ down).

* Caveat : Illustrative Purposes

If the demo has more elegant presentation, please do not hesitate to suggest and send feedback to author.
Email: promethevx@yahoo.com.

Thank you.

Regards,
Michael Chan JT

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
GTRACK

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
29 Jun 2011 Sarah

this is awesome! do you know the sampling rate/interval between each print of information?

12 Sep 2011 Michael Chan

That is an interesting question, and an important consideration for some UI. I will take note of this in the design, and check for options to tune the sampling rate. Thank you for your inputs.

Please login to add a comment or rating.
Updates
24 Oct 2010

Screen shot of mouse activities added.

Tag Activity for this File
Tag Applied By Date/Time
mouse Michael Chan 23 Oct 2010 15:48:26
tracking Michael Chan 23 Oct 2010 15:48:26
event Michael Chan 23 Oct 2010 15:48:26
gui Michael Chan 23 Oct 2010 15:48:26
coordinates Michael Chan 23 Oct 2010 15:48:26
polar coordinates Michael Chan 23 Oct 2010 18:08:58
cartesian Michael Chan 23 Oct 2010 18:08:58

Contact us at files@mathworks.com