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

Touchscreen support on menu with pygame 2+ #222

Closed
werdeil opened this issue Nov 10, 2020 · 2 comments
Closed

Touchscreen support on menu with pygame 2+ #222

werdeil opened this issue Nov 10, 2020 · 2 comments

Comments

@werdeil
Copy link
Contributor

werdeil commented Nov 10, 2020

Sorry if I have missed something but I can't manage to make the menu work with a touchscreen on pygame 2.

ISince pygame 2 and the switch to SDL2 the touchscreen support have evolved, we now have FINGERxxxx events (FINGERDOWN, FINGERUP, FINGERMOTION) and touch events are no longer considered as click events. I think this is the reason the touch on the menu are no longer working.

@ppizarror
Copy link
Owner

That could be an amazing addition, but I don't have any touch device that runs Windows 10 so I could not be able to test it. Do you have used these new events? Any PR is welcome :)

@ppizarror
Copy link
Owner

Pushed new version 3.3.2 along some other changes. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants