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

fix: mouse range for non-standard resolutions #9

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

cfalas
Copy link
Contributor

@cfalas cfalas commented Jun 24, 2024

When using a non-standard resolution (i.e. 19200 not divisible by width and/or 10800 not divisible by height), the mouse is not able to move to the bottom right corner, because integer division is performed.

cfalas and others added 2 commits June 24, 2024 16:53
When using a non-standard resolution (i.e. 19200 not divisible by width and/or 10800 not divisible by height), the mouse is not able to move to the bottom right corner, because of the remainder of the integer division.
@ABeltramo
Copy link
Member

@cfalas thanks for contributing to inputtino!

@ABeltramo ABeltramo merged commit aff7519 into games-on-whales:stable Jun 24, 2024
1 check passed
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 this pull request may close these issues.

2 participants