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 is different from desktop's in non-widescreen #17

Closed
StoneWolf opened this issue Apr 2, 2021 · 3 comments
Closed
Assignees

Comments

@StoneWolf
Copy link

StoneWolf commented Apr 2, 2021

I'm using version 0.99.402.
This happens in fullscreen only.

When running the game in non-widescreen mode (in my case 4/3 on a 2560x1440 monitor), the game cursor is slower than the desktop's cursor. I believe the total amount of "movement" needed to go from the left of the game's window to the right of the window is the same than the entire desktop's width.

In my case, the game's viewport (I mean, excluding the black bars) is 4/3*1440 = 1920px. But what's happening is that I need to move my mouse the same amount that I would need to go from the left end to the right end of my desktop (which is 2560px instead of the game's 1920px). This results in a "slower cursor" feeling. Nothing that makes the game unplayable, obviously, but it can be surprising.

@StoneWolf
Copy link
Author

I haven't yet looked at the source code, so I don't know if this is possible, but you could in theory use the desktop's height instead of its width for your mouse sensitivity calculations (since the height stays the same whether you're in widescreen mode or not).

@bolrog bolrog self-assigned this Apr 2, 2021
@bolrog
Copy link
Owner

bolrog commented Apr 2, 2021

Thanks! I did just that, should be fixed in the upcoming release.

@StoneWolf
Copy link
Author

Works like a charm now, thank you!

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