Closed
Bug 1086255
Opened 10 years ago
Closed 7 years ago
Gamepad API broken on Windows XP
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: darktrojan, Unassigned)
References
Details
(Keywords: regression)
The gamepad API is working in Firefox 31, but not in Firefox 32 onwards. My page doesn't receive any of the gamepad events. It could be just me (given how long ago Fx32 was, I'm suspicious) but I can't think of any reason for that. I've tried it with fresh installs and new profiles.
Comment 1•10 years ago
|
||
This is probably fallout from bug 996078. Are you using an Xbox 360 controller (or something else that supports XInput, like a Logitech controller)? My best guess is that you don't have XInput available, but we explicitly don't handle XInput-capable controllers in the raw input path so your controller gets skipped: http://hg.mozilla.org/mozilla-central/annotate/29fbfc1b31aa/hal/windows/WindowsGamepad.cpp#l657 We could change that check to only skip the controller if we successfully loaded an XInput DLL which might make this work. I'm not terribly concerned about this if it's Windows XP only, FWIW, but I'd take a simple fix.
Reporter | ||
Comment 2•10 years ago
|
||
I have no idea if my controller's XInput or not (it's a PS2 Buzz! controller, so I would guess not), but it does work with Win7.
> We could change that check to only skip the controller if we successfully loaded an XInput DLL which might make this work.
I did notice that my WinXP install didn't have an XInput DLL, so this might be a good idea, though I don't imagine there's too many mad people like me out there trying to use this stuff on XP still.
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•