leetmouse icon indicating copy to clipboard operation
leetmouse copied to clipboard

Update accel.c

Open serossi opened this issue 2 years ago • 2 comments

rate calculation and offset subsstraction needs to be done first not after speedcap otherwise rate cap always applys. rate is at this stage still not divided by ms so it will always exceed speedcap therefore it will always apply.

serossi avatar Dec 28 '22 16:12 serossi

Thank you. I will take a look at it. Sounds reasonable to me TBH. IIRC, the code has been taken from the original repo, that tried to mimic quake-like acceleration. Maybe I did a mistake when migrating it to leetmouse or there was a bug in the first place.

systemofapwne avatar Feb 11 '23 00:02 systemofapwne

look the mummy has awaken, every 6000 years she gonna commit and pull,...on github :)

seriously im no longer shure this was the fix. yes the code is as is in the original repo.

however even if it doesnt fix my initial problem i still believe it would be more "correct" this way. then again i could be completly wrong there and it might not even matter.

serossi avatar Feb 11 '23 07:02 serossi