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

Documentation: clarify how hidpi affects mouse scaling #10074

Closed
expikr opened this issue Jun 21, 2024 · 2 comments · May be fixed by #10083
Closed

Documentation: clarify how hidpi affects mouse scaling #10074

expikr opened this issue Jun 21, 2024 · 2 comments · May be fixed by #10083

Comments

@expikr
Copy link
Contributor

expikr commented Jun 21, 2024

README-hidpi.md does not mention anything about how display scaling will influence SDL's mouse input scaling.

There should be a comprehensive clarification about how each hint and dpi configuration interacts with the events which are posted, with concrete cases for various game types (FPS, hardware-cursor RTS, software-cursor rhythm games etc) and how users can set their OS settings or envvars to override developer oversights.

@slouken
Copy link
Collaborator

slouken commented Jun 21, 2024

It does not affect mouse input. Those units don't change.

A comprehensive guide sounds good, but probably not something we'll have time to write as we work towards SDL 3.0 release. Please feel free to create a PR with one you've written.

@expikr
Copy link
Contributor Author

expikr commented Jun 22, 2024

Opened #10083

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

Successfully merging a pull request may close this issue.

2 participants