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

Key pad button don't work in web apps on mobile #69

Closed
takahirox opened this issue Dec 14, 2019 · 1 comment · Fixed by #82
Closed

Key pad button don't work in web apps on mobile #69

takahirox opened this issue Dec 14, 2019 · 1 comment · Fixed by #82
Labels
bug Something isn't working UI web app

Comments

@takahirox
Copy link
Owner

Key pad buttons don't work in web apps on mobile. I tested on Android Chrome, OculusBrowser, and Firefox Reality.

DOM button event seems be fired but somehow input data doesn't seem to be sent to the emulator correctly.

@takahirox takahirox added bug Something isn't working web app UI labels Dec 14, 2019
@takahirox
Copy link
Owner Author

On laptop,

  • mousedown event (onPadPress) is fired when button is pressed
  • click event (onPadRelease) is fired when button is released

while on Android Chrome (maybe and Firefox Reality)

  • The both event are fired when button is released

So pad press input is immediately canceled by pad release input. Probably we should use other event for mobile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working UI web app
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant