Implement a callback for not-moving mouse cursor
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I have a question and any possible solution is welcome:
How can I implement a callback which is called if the mouse is staying still for a while (e.g. cursor change interval > 0.05 sec.), but while the mouse is quickly moving (e.g. cursor change interval < 0.05 sec.), this callback won't be called?
Any ideas?
0 comentarios
Respuesta aceptada
Jan
el 30 de Abr. de 2013
Use a TIMER, which triggers every 0.05 seconds and compare the mouse position.
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!