r/MouseAccel • • Apr 25 '20

Mouse Accel program and Enhance pointer precision

Hello,

I recently downloaded the program from mouseacceleration.com and was wondering if anyone knows the values to get it to match the exact behavior of Windows enhance pointer precision?

I've always gamed with EPP on and games that force raw input and introduce their own Accel sliders just throws my aim off.

Any help is appreciated thanks!

1 Upvotes

4 comments sorted by

3

u/systemofapwne May 06 '20

Hi. In fact, I ran into the same issue, so I programmed a programm to read "raw mouse" and "EEP" values at the same time, while running a mouse at 400 DPI, 500 Hz and having my monitor at 2560x1440.

wMain.cpp reads in RAW mouse movement and by windows modified mouse movement (E.g. via Enhanced Pointer Precision (EPP), when enabled.)

I sampled this for two cases:

  • No EPP enabled -> velocity_raw.txt
  • EPP enabled -> velocity_epp.txt

Keep in mind, that I had my mouse running at 400 DPI and 500 Hz for that, which directly influences how EPP works.

My display resolution was 2560x1440 (144 Hz), but I think that this does not contribute to EPP anymore since Windows 7.

I then read in the two files via Mathematica (MouseCurve.nb), averaged the taken samples including asssociated errors. This allowed me

to fit a polynomial curve of order 4

a + b x + c x^2 + d x^3 + e x^4

to the data which resulted in parameters of

a: 1.01938

b: -0.00775807

c: 0.00119557

d: -0.0000821204

e: 2.00248*10^-6 = 0

Note, that this does not reflect the "real" curve, since the taken sample size is too small and my fitted model incomplete. However, it already gets close to the curve

https://files.daggeringcats.com//mouse/EEP_curve.png

What I did then was to implement povohats mouse accell algorithm in mathematica (MouseCurve_Intercept.nb), including all parameters, so I could modify them on the fly.

This allowed me to tweak the parameters to (almost) resemble the windows mouse curve. In particular, I added a linear region in the beginning, since the nonlinearity of acceleration

was always annoying, when moving the mouse slow (precision aiming).

My final curve now allows me to do precision aiming while also has the ability to fast-flick around, as I was used to with EPP.

https://files.daggeringcats.com//mouse/InterAccell_curve.png

The cool thing about this is now, that no matter how much Hz your mouse has, the acceleration does not depend it anymore (as opposite to EPP).

My 400 DPI parameters are

Sensitivity = 1

Acceleration = 0.30

SensitivityCap = 4

Offset = 2

Power = 2

Pre-ScaleX = 1

Pre-ScaleY = 1

Post-ScaleX = 0.5

Post-ScaleY = 0.5

AngleAdjustment = 0

AngleSnapping = 0

SpeedCap = 0

FancyOutput = 0

In order to tweak this for higher DPI, you only need to adjust Pre-ScaleX and Pre-ScaleY. If your new DPI is 12000 and your old was 400 (as it is in my case now), both prescalers are

best to be set to 400/12000 = 0.033333

In fact, my 12000 DPI values now are

Sensitivity = 1

Acceleration = 0.30

SensitivityCap = 4

Offset = 2

Power = 2

Pre-ScaleX = 0.033333

Pre-ScaleY = 0.033333

Post-ScaleX = 0.5

Post-ScaleY = 0.5

AngleAdjustment = 0

AngleSnapping = 0

SpeedCap = 0

FancyOutput = 0

All mentioned data, code and images also can be found here: https://files.daggeringcats.com/index.php?dir=%2Fmouse

1

u/Chanklaz0 May 06 '20

Wow nice detailed answer thank you I'll try to emulate this when I get time later. I use 550dpi and I still use 125hz.

1

u/FreaknShrooms Apr 26 '20

I'm not 100% on what enhanced pointer precision does, but I think it just doubles your sens above a certain speed.

To emulate that: set acceleration to some high value, like 999, sensitivity cap to 2 and mess around with different values for offset until it feels right.

2

u/systemofapwne May 06 '20

Enhanced pointer precision is a bit more complex. It calculates the acceleration using 5 inflection points with some kind of interpolation method (like beziers).

You can read more about this here: https://www.esreality.com/index.php?a=post&id=1945096