-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Undefined buttons and axes for detected gamepads #13844
Labels
closed-duplicate
Closed in favor of an existing report
Comments
This comment was originally written by @pjako Doesn't work with the xbox controller aswell. Any update on this? |
Removed this from the 1.6 milestone. |
Removed Oldschool-Milestone-1.6 label. |
DartBot
added
Type-Defect
closed-duplicate
Closed in favor of an existing report
labels
Jan 20, 2015
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue was originally filed by [email protected]
I have a Wiimote incl. Classic Controller plugged in.
When pressing a button I get a corresponding gamepad from window.navigator:
0 - Nintendo Wiimote (Vendor: 0001 Product: 0001)
The problem: There is neither any button nor any of the axes defined, both result in null instead of a list:
gamepad.buttons == null
gamepad.axes == null
When compiling the code to Javascript and running it in Chromium (not Dartium) the mentioned buttons and axes are found.
Chromium 31.0.1612.0 (Developer Build 219647)
OS Linux
Blink 537.36 (@1393)
JavaScript V8 3.21.4
Dart 0.7.6.4_r28108
Flash 11.2 r202
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1612.0 (Dart) Safari/537.36
Command Line /home/alex/htmlprojects/dart/chromium/chrome --remote-debugging-port=47207 --user-data-dir=/home/alex/.dartium --enable-experimental-webkit-features --enable-devtools-experiments --no-first-run --no-default-browser-check --no-process-singleton-dialog --flag-switches-begin --js-flags=--harmony --flag-switches-end chrome://version/
Executable Path /home/alex/htmlprojects/dart/chromium/chrome
Profile Path /home/alex/.dartium/Default
Variations b03ddc1f-2d9ef0cc
51280b35-d4fad49d
f9b252d0-fd526c81
262f996f-eeefeb17
24dca50e-837c4893
ca65a9fe-91ac3782
5e29d81-f23d1dea
246fb659-4c073154
f296190c-5c63917a
4442aae2-6e3b1976
ed1d377-e1cc0f14
75f0f0a0-d7f6b13c
e2b18481-cdc3d902
e7e71889-4ad60575
Linux myhost 3.11.2-1-ARCH #1 SMP PREEMPT Fri Sep 27 07:35:36 CEST 2013 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: