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 front panel touch on Vita #11442

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Conversation

rsn8887
Copy link

@rsn8887 rsn8887 commented Nov 10, 2024

The Vita touch code was ignoring front panel touch events, because they were sent internally using Touch_ID 0, but it should have been TOUCH_ID 1. This commit re-enables front panel touch events.

Fixes issue #11441

Tested with latest ScummVM compiled from master.

@rsn8887 rsn8887 changed the title Fix front panel touch on Vita, fixes #11441 Fix front panel touch on Vita Nov 10, 2024
@slouken
Copy link
Collaborator

slouken commented Nov 10, 2024

@Wohlstand, can you review?

@slouken slouken added this to the 2.32.0 milestone Nov 10, 2024
@Wohlstand
Copy link
Contributor

I already did a quick look on this, and this looks fine for me, but I probably should try to build a local thing and verify how it works on my Vita in action.

@isage
Copy link
Contributor

isage commented Nov 12, 2024

Nice catch. Somehow this (0 touch id) was fixed properly for sdl3, but not sdl2.
Side note: shouldn't PR target SDL2 branch?

@rsn8887
Copy link
Author

rsn8887 commented Nov 13, 2024

I think you are right this should be targeting SDL2 branch but also be put in the release branch for next release.

@rsn8887 rsn8887 changed the base branch from release-2.30.x to SDL2 November 13, 2024 05:29
@rsn8887 rsn8887 changed the base branch from SDL2 to release-2.30.x November 13, 2024 05:29
@rsn8887 rsn8887 changed the base branch from release-2.30.x to SDL2 November 13, 2024 05:42
@rsn8887
Copy link
Author

rsn8887 commented Nov 13, 2024

Ok I changed it to target SDL2 branch. It should be ready.

@isage
Copy link
Contributor

isage commented Nov 15, 2024

@slouken lgtm

@slouken slouken merged commit 6dcf757 into libsdl-org:SDL2 Nov 15, 2024
@slouken
Copy link
Collaborator

slouken commented Nov 15, 2024

Merged, thanks!

@slouken
Copy link
Collaborator

slouken commented Nov 15, 2024

This is in for the next SDL2 release.

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.

4 participants