Python Forum
mouse 0.7.0 - mouse polling hate 125-1000hz - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: mouse 0.7.0 - mouse polling hate 125-1000hz (/thread-23006.html)



mouse 0.7.0 - mouse polling hate 125-1000hz - penahuse - Dec-06-2019

Hi guys, i need your help!

I installed mouse 0.7.0 by pip install mouse.

This mouse api works fine on an aplication designed to mouses 125hz, but i cant use on 1000hz polling rate.

how can i "import mouse" and hook it to a 1000hz mouse?

My aplication is to paste and copy some infos on a website (in real time) and paste in to word (for data control), but i cant use it with a 1000hz mouse.

the code use win32api.mouse_event and mouse.is_pressed.

Sorry my bad english.

I thank any help.


RE: mouse 0.7.0 - mouse polling hate 125-1000hz - Larz60+ - Dec-06-2019

you can look through the source code here: https://github.com/boppreh/mouse
All mouse actions (in this application) are event driven, so unless there is some sort of internal (to program) delay that is being injected,
I would expect it able to handle whatever the driver is capable of handling.
If you have a github account, you can login and access the author's email here: https://github.com/boppreh
I's ask author first.