![remove smoothmouse remove smoothmouse](https://4.bp.blogspot.com/--fHQ6Jo0nEU/Up6t78n7-bI/AAAAAAAAALY/w3vCwHxlmfM/s1600/acc.jpg)
it assumes that you have the same mouse polling rate on Windows 7 that you had on W2K. ¡As a theoretical exercise!, this REG file *SOMEWHAT* approximates W2K: MouseSensivity="10" (6/11), MouseSpeed="2", MouseThreshold1="4", MouseThreshold2="12" (AKA Windows 2000 "Medium" setting), when used on Windows 7 with DPI=100%(96), and when used with the SAME mouse polling rate as you had on Windows 2000, 125Hz or whatever: If one were clever, one might be able to use it as a tool and build a curve piecewise. It only builds curves with a constant sensitivity (usually 1-to-1, but can be any arbitrary number, but CONSTANT for all mouse inputs, rather than the step-wise accel W2K has. WHOOPEE! it works!įor the benefit of everybody else, the MarkC Fix Builder CAN'T directly create a fix that emulates W2K Low, Medium, or High accel. Since I have extra time on my hands I've typed up an example of a program that does it as well.This is exactly what I did. Here's an answer that may help understand what it is. You can find many resources that may help if you search up linear interpolation. This is often referred to as "lerping" sort for linear interpolation. View the points as vectors and interpolate between them. Hence, the last interpolation step yields the exact values – no post-correction is necessary like in OPs original approach. The last iteration is done with i = smoothing so that i / smoothing results in 1. i / smoothing provides the interpolation paramter in The modified Smoothing(): void Smoothing(int smoothing, int delay, int x, int y) commutativity is not provided by these integral operations.) Hence, xI = i * x / smoothing is not equivalent to xI = i / smoothing * x.
![remove smoothmouse remove smoothmouse](https://cdn.hiconsumption.com/wp-content/uploads/2019/04/The-Lounge-Mouse-2.jpg)
PRINT_AND_DO(xMouse = 0 yMouse = 0 t = 0) Mouse_event(1, x % smoothing, y % smoothing, 0, 0) Mouse_event(1, x / smoothing, y / smoothing, 0, 0) Void Smoothing(int smoothing, int delay, int x, int y) Void mouse_event(int _1, int dx, int dy, int _4, int _5) Static int xMouse = 0, yMouse = 0, t = 0 So, I thought twice and made the following MCVE to resemble OPs problem: #include This might be dictated by the API used by OP. The mouse_event() as well as the AccurateSleep() is called with delta values.So, doing integer arithmetic may be preferred. All operations are about integral values.I even intended to write this as answer when I realized some facts that might form possible constraints (which the OP unfortunately didn't mention explicitly).
![remove smoothmouse remove smoothmouse](https://imgaz.staticbg.com/images/oaupload/banggood/images/F9/A0/2de09c92-f77d-4cf3-b6e6-1c8446460811.jpg)
![remove smoothmouse remove smoothmouse](https://i.ebayimg.com/images/g/Q2AAAOSwMxhiwo5o/s-l500.jpg)
Linear Interpolation was my first thought when I read the question (as well as mentioned in the other answer).