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 comentarios

Tobias
Tobias el 5 de En. de 2015
Editada: Tobias el 5 de En. de 2015
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 el 26 de Jul. de 2016
Is there any update on this?
Johannes Hirrlinger
Johannes Hirrlinger el 13 de Oct. de 2017
same prolem...

Iniciar sesión para comentar.

Respuestas (1)

Wayne Xun
Wayne Xun el 26 de Jul. de 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

Categorías

Preguntada:

el 5 de Abr. de 2014

Comentada:

el 13 de Oct. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by