필터 지우기
필터 지우기

How to Access Raw Mouse Data Stream

조회 수: 4 (최근 30일)
Scott
Scott 2014년 4월 5일
댓글: Johannes Hirrlinger 2017년 10월 13일
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
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일
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

카테고리

Help CenterFile Exchange에서 Robotics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by