How to Access Raw Mouse Data Stream

Anyone know how to access the raw mouse data stream? Is this possible in Matlab? I want to use a mouse for robotic position tracking and need to get the raw x/y displacement data.
Thanks
Scott

댓글 수: 3

Tobias
Tobias 2015년 1월 5일
편집: Tobias 2015년 1월 5일
Hey Scott
I've got exactly the same problem, I wanna use my mouse as a position tracker and don't want to use the GUI. Any updates so far, did you find a solution elsewhere?
Thx a lot Tobias
Daniel  De Becker
Daniel De Becker 2016년 7월 26일
Is there any update on this?
Johannes Hirrlinger
Johannes Hirrlinger 2017년 10월 13일
same prolem...

댓글을 달려면 로그인하십시오.

답변 (1개)

Wayne Xun
Wayne Xun 2016년 7월 26일

0 개 추천

You can get the mouse position even when the pointer is outside of a gui scope with
get(0,'PointerLocation')
This returns the x and y coordinates of the mouse. Call this command continuously for a stream of mouse position. See the documentation here

카테고리

도움말 센터File Exchange에서 Robotics에 대해 자세히 알아보기

질문:

2014년 4월 5일

댓글:

2017년 10월 13일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by