MATLAB Answers

0

Implement a callback for not-moving mouse cursor

SSOI SS 님이 질문을 제출함. 30 Apr 2013
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

로그인 to comment.

답변 수: 1

Jan 님의 답변 30 Apr 2013
 채택된 답변

Use a TIMER, which triggers every 0.05 seconds and compare the mouse position.

  댓글 수: 2

where can I implement this TIMER? there is no callback called if the mouse is staying still in figure, correct?
Hi, I think I know how I implement this.
Thanks for your advice !!

로그인 to comment.



Translated by