Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account for Enhanced pointer percision #6

Open
ChrisKader opened this issue Oct 15, 2022 · 5 comments
Open

Account for Enhanced pointer percision #6

ChrisKader opened this issue Oct 15, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@ChrisKader
Copy link

I kept getting failed tests until I disabled "Enhanced Pointer Precision".

image

Thoughts on how to account for it?

@Chaoses-Ib Chaoses-Ib added the bug Something isn't working label Oct 15, 2022
@Chaoses-Ib
Copy link
Owner

In fact, this is a known issue. Checking EPP causes Windows to use an unknown algorithm to transform the relative movement of the mouse. Then the library will be unable to precisely control the actual amount of relative movement. Because some drivers only support relative movement (e.g. Logitech), their absolute movement is simulated by using relative movement, the absolute movement will also be affected by EPP.

There are a few articles that have looked at the unknown algorithm, but it's complex and I'm not sure if those articles still apply to Windows 10/11. I have tried to fit the curve of the algorithm and make corrections (Logitech.hpp#L170), but the result is not satisfying. The best option at this time may be to check and notify the user to turn off EPP.

@ChrisKader
Copy link
Author

On my machine, I do not have a settings.json file located in this location.

image

Closest I have is %LOCALAPPDATA%\LGHUB and its a settings.db file:

image

@ChrisKader
Copy link
Author

I also found that you can actually install the RzComDriver without Synapse. There are various logs generated by razer synapse and one of them is Manifest.log this contains an XML manifest of all software products from razer. I have a console app I wrote in c# that actually uses the C# API used by Razers software to download the same Manifest file.

Within the Manifest, there is a link to the full Razer Synapse install (eg: https://cdn.razersynapse.com/1665042231FcnE6gEARazerSynapseSetup_v3.7.1015.100615.exe).

This exe is in a format that can be extracted from and within the $PLUGINSDIR RzComDriver_vx.x.xx.x.exe exists which is the Razer Common Control Driver.

image

@ChrisKader
Copy link
Author

image

@Chaoses-Ib
Copy link
Owner

On my machine, I do not have a settings.json file located in this location.

Sorry, that's my fault. You don't actually need a settings.json. LGS' acceleration is indeed just another name for EPP (I didn't realize this until after I wrote it). You can check EPP in HKEY_CURRENT_USER\Control Panel\Mouse\MouseSpeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants