Skip to content

Windows: Fix touch input, disable window rounding - #3207

Merged
carstene1ns merged 4 commits into
EasyRPG:masterfrom
Ghabry:fix-touch-input
Apr 20, 2024
Merged

Windows: Fix touch input, disable window rounding#3207
carstene1ns merged 4 commits into
EasyRPG:masterfrom
Ghabry:fix-touch-input

Conversation

@Ghabry

@Ghabry Ghabry commented Apr 11, 2024

Copy link
Copy Markdown
Member

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 Windows 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
@Ghabry
Ghabry deleted the fix-touch-input branch September 2, 2024 18:51
sevenc-nanashi pushed a commit to sevenc-nanashi/easyrpg-player that referenced this pull request May 31, 2026
Windows: Fix touch input, disable window rounding
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.

2 participants