Skip to content
#

swiftwasm

Here are 27 public repositories matching this topic...

Jomy10
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.

good first issue web

Improve this page

Add a description, image, and links to the swiftwasm topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the swiftwasm topic, visit your repo's landing page and select "manage topics."

Learn more