Effacer les filtres
Effacer les filtres

How to Access Raw Mouse Data Stream

4 vues (au cours des 30 derniers jours)
Scott
Scott le 5 Avr 2014
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 commentaires
Daniel  De Becker
Daniel De Becker le 26 Juil 2016
Is there any update on this?
Johannes Hirrlinger
Johannes Hirrlinger le 13 Oct 2017
same prolem...

Connectez-vous pour commenter.

Réponses (1)

Wayne Xun
Wayne Xun le 26 Juil 2016
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

Catégories

En savoir plus sur Robotics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by