4strid / mouse-control.autohotkey

AutoHotKey script for controlling the mouse with the keyboard. Fast & easy-to-use, full-fledged software replacement for a physical mouse. WASD / vim movement and vim-inspired key bindings. Better alternative to Numpad Mouse.
MIT License
83 stars 16 forks source link

Smoother Mouse Pointer Movement #9

Open 2b2tplayer opened 12 months ago

2b2tplayer commented 12 months ago

Is there a way to make is as smooth as using a mouse? could this be a keyboard polling rate issue? Anyways I'm in love with this, tysm for making it

4strid commented 8 months ago

thanks ! and hello fellow 2b2t player :>

so , the short answer is "yes" we can make it tick more often , although not by much . right now it polls every 16 ms which puts it at about 60 fps . according to my research a more optimal number to set the timer for is 15.6 ms which is a sort of soft cap set by AHK . we can also set it as low as 10 ms but then we might run into issues where it's inconsistent which to me seems worse than than consistently running at "only" 60 fps .

i'll go to the library later today to test these timer values and let you know how they work .

saleo commented 6 months ago

Is there a way to make is as smooth as using a mouse? could this be a keyboard polling rate issue? Anyways I'm in love with this, tysm for making it

i have the same strong request as @2b2tplayer , it looks weird , although your mouse-control.autohotkey is GREAT!

4strid commented 6 months ago

i've tried tuning the SetTimer number at various values none of which seem to improve "smoothness"

there is one other thing i can try, namely "shorter sleep" to make it a little more snappy , but it will have to wait for another day my friends . i don't have a computer right now so i am doing the best i can at the public library .