フィルターのクリア

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 Center および File ExchangeRobotics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by