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 adjustment sliders range too narrow #364

Open
rabfulton opened this issue May 22, 2024 · 0 comments
Open

Mouse sensitivity adjustment sliders range too narrow #364

rabfulton opened this issue May 22, 2024 · 0 comments

Comments

@rabfulton
Copy link

Just remembered this game existed and glad to see it still exists!

I had trouble getting my mouse sensitivity to anywhere near a reasonable value using the in game options. I guess this could be related to hidpi modern mice and/or modern screen sizes/dpi's. Although easily fixed by finding the manual and editing neverballrc, it would be nice if the in game slider covered a wider range or allowed to input a value.

Aquick search in the code revealed in ball/st_conf.c:

#define MOUSE_RANGE_MIN 100
#define MOUSE_RANGE_INC 50
#define MOUSE_RANGE_MAX (MOUSE_RANGE_MIN + (MOUSE_RANGE_INC * 10))

If I am correct this suggest a max value of 100 + 50*10 = 600.

For me a value of about 1000 felt right (playing on linux with logitech mx anywhere 3 mouse at 1920x1200). I suspect a more correct way to get a value for range min/max would be to query the screen dpi and resolution and use that to come up with numbers that relate to the users particular hardware setup (just a thought and I may be entirely wrong about this!).

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

1 participant