dc740 / AutoHotPy

AutoHotKey replacement using Incerception driver
GNU Lesser General Public License v3.0
59 stars 23 forks source link

Mouse speed is not real- it is very slow. #17

Open ruslanmv opened 2 years ago

ruslanmv commented 2 years ago

Hello, thank your for this great program, I am trying to improve the speed of the mouse, and I was doing some tests to find somehow where is the part where the speed of the mouse does not reproduce the actual times of the original ones. My first impression was that maybe at the AutoHotpy.py, the time.sleep(interval) is a little bigger than the original ones. I have tried to reduce the time.sleep(interval) for example, 0.0001*interval in the part in the runMacro definition

self.sleep(getTimeDifference(last_time,event[0])) #wait before firing the event

To see if this can reduce the overall running time of the program, but unfortunately, this does not increase the speed.

Do you know at which point can I control the speed of the program, or in which part of the program maybe there is a bottleneck that makes the program makes the reproduction not exactly with the same times of the recording.

Any hint or suggestion is welcomed. In this way, I can try to find a small improvement in this part. I need to reproduce the recording with the same times as the real ones.

Best regards Ruslan