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

Mouse sensitivity speeds up? #159

Closed
kingarchie opened this issue Mar 14, 2017 · 7 comments
Closed

Mouse sensitivity speeds up? #159

kingarchie opened this issue Mar 14, 2017 · 7 comments

Comments

@kingarchie
Copy link

The mouse sens speeds up when I use JNativeHook - any idea?

@kwhat
Copy link
Owner

kwhat commented Mar 14, 2017 via email

@kingarchie
Copy link
Author

Windows - my software is only for windows. Some users are complaining that their mouse sens is speeding up whilst playing minecraft and using software which uses JNativeHook. I also use JNA and Gson - but those don't effect the mouse so I assumed it must be JNH.

@kwhat
Copy link
Owner

kwhat commented Mar 14, 2017

There are only 3 functions that inspect the mouse acceleration issue:

hook_get_pointer_acceleration_multiplier
hook_get_pointer_acceleration_threshold
hook_get_pointer_sensitivity

https://github.com/kwhat/libuiohook/blob/1.1/src/windows/system_properties.c#L157

These functions all do roughly the same thing, call SystemParametersInfo and read the info. I don't do much else aside from installing a hook via SetWindowsHookEx(WH_MOUSE_LL, but that shouldn't affect acceleration or sensitivity.

@kingarchie
Copy link
Author

kingarchie commented Mar 14, 2017 via email

@kwhat
Copy link
Owner

kwhat commented Mar 21, 2017

Try and gather a bit more info about their mouse sensitivity. Are they using some special software?
Maybe the program is disrupting something proprietary by reading those elements in that way.

@kingarchie
Copy link
Author

kingarchie commented Mar 21, 2017 via email

@kwhat
Copy link
Owner

kwhat commented Mar 21, 2017

Awesome, no worries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants