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

Windows: Fix touch input, disable window rounding #3207

Merged
merged 4 commits into from
Apr 20, 2024

Conversation

Ghabry
Copy link
Member

@Ghabry Ghabry commented Apr 11, 2024

The finger IDs sent seem to be different based on which device you use.

My Surface 4 sent 0 - 4 as ID. This Asus Laptop here increments the ID everytime. Removed the assumption from the code that the IDs are 0 - 4.


Disabled the window rounding on Win11 because its not nice when a few pixels of the game are simply lost...

@Ghabry Ghabry added the Win32 label Apr 11, 2024
@Ghabry Ghabry added this to the 0.8.1 milestone Apr 11, 2024
Ghabry and others added 4 commits April 20, 2024 23:24
On some devices the ID is not 0-4 but counts upwards.

Introduced a new finger ID field to resolve this.
This looses pixels in the edges of the game.

No error check. Will silently fail when unsupported.
@carstene1ns carstene1ns merged commit b313163 into EasyRPG:master Apr 20, 2024
13 checks passed
@Ghabry Ghabry deleted the fix-touch-input branch September 2, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants