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 touchstart/touchend events #4

Open
alvaromontoro opened this issue Aug 28, 2019 · 0 comments
Open

Add touchstart/touchend events #4

alvaromontoro opened this issue Aug 28, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@alvaromontoro
Copy link
Owner

Touchstart/touchend events are triggered when the user places their fingers on top of the button/joystick, or moves them out.

It is a property of the Gamepad API, but it is not available in all joysticks. So don't worry if the results may be choppy.

Then new event names will be the same that we have, adding "touchstart" and "touchend" at the end of it. E.g.: button0touchstart, button0touchend, etc.

@alvaromontoro alvaromontoro added the enhancement New feature or request label Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant