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

Undefined buttons and axes for detected gamepads #13844

Closed
DartBot opened this issue Oct 4, 2013 · 9 comments
Closed

Undefined buttons and axes for detected gamepads #13844

DartBot opened this issue Oct 4, 2013 · 9 comments
Assignees
Labels
closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented Oct 4, 2013

This issue was originally filed by alexander.r...@gmx.net


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

@vsmenon
Copy link
Member

vsmenon commented Nov 14, 2013

Set owner to @vsmenon.
Added this to the M9 milestone.

@vsmenon
Copy link
Member

vsmenon commented Nov 14, 2013

Removed this from the M9 milestone.
Added this to the 1.1 milestone.

@vsmenon
Copy link
Member

vsmenon commented Feb 27, 2014

Removed this from the 1.1 milestone.
Added this to the 1.3 milestone.

@DartBot
Copy link
Author

DartBot commented Apr 5, 2014

This comment was originally written by @pjako


Doesn't work with the xbox controller aswell. Any update on this?

@vsmenon
Copy link
Member

vsmenon commented May 26, 2014

Removed this from the 1.3 milestone.
Added this to the 1.6 milestone.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the 1.6 milestone.
Added Oldschool-Milestone-1.6 label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-1.6 label.

@alan-knight
Copy link
Contributor

Added Duplicate label.
Marked as being merged into #15199.

@DartBot
Copy link
Author

DartBot commented Jan 20, 2015

This comment was originally written by @Fox32


I don't think that issue is a duplicate of issue #15119. It's issue #15199, only a small typo.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

5 participants