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

Add touch controls as option on non-mobile devices #15

Open
Jomy10 opened this issue Mar 22, 2022 · 0 comments
Open

Add touch controls as option on non-mobile devices #15

Jomy10 opened this issue Mar 22, 2022 · 0 comments
Labels
good first issue Good for newcomers web Issues related to the web version

Comments

@Jomy10
Copy link
Owner

Jomy10 commented Mar 22, 2022

Add a button to show touch controls on devices that are not detected as mobile, but do support touch input. (E.g. for the iPad, or laptops with touch support).

This would require detecting if the device supports touch input through JavaScriptKit, then if the device is not mobile (!isMobile && supportsTouch), show a button (maybe beneath the score?) to show controller.

@Jomy10 Jomy10 added enhancement New feature or request good first issue Good for newcomers web Issues related to the web version and removed enhancement New feature or request labels Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers web Issues related to the web version
Projects
None yet
Development

No branches or pull requests

1 participant