Answer the question
In order to leave comments, you need to log in
How to fix cursor movement time?
How to do it? I can't google it, preferably using python. The bottom line is that you run a python script, it starts counting the time and shows how much the cursor has been in motion since the script was launched.
Answer the question
In order to leave comments, you need to log in
Look in the direction of wxwidgets or qt and binding these libraries with python. There is a standard demo application called xeyes (eyes), this application just keeps track of the cursor and draws eyes. Initially, this application was written in C on pure xlibs, but the functionality should be present in any framework.
Here is the class in wxwidgets that intercepts mouse events - docs.wxwidgets.org/3.1.0/classwx_mouse_event.html
Well, just in case - docs.wxwidgets.org/3.1.0/overview_events.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question