Closed Bug 690938 Opened 13 years ago Closed 11 years ago

Support Bluetooth controllers for gamepad API

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: ted, Assigned: ted)

References

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

Currently we only support USB devices. It would be really nice to support bluetooth as well. I'm not sure how much effort this will be, but it'd be great to be able to support things like the Wiimote and DualShock 3.

I'd ideally like to support them on Android as well, but that might be a big enough effort to be spun out into its own bug.
Keywords: dev-doc-needed
On Mac, using a DualShock 3 over bluetooth works with the existing patches. (you have to have this driver installed to use it at all: http://tattiebogle.net/index.php/ProjectRoot/Ps3Controller )
Just a few random notes:
a) The PS3 controller works without installing a driver now on Mac 10.8 (possibly on 10.7 as well).
b) Android work has been moved to bug 852935, we probably don't need to do anything special to handle bluetooth there.

This bug might actually just be WORKSFORME.
I tested a bluetooth gamepad on Linux, and the only issue I had was that the vendor and product ID aren't available in the same way via sysfs/udev. I added some extra checks here and it works fine.
Attachment #730201 - Flags: review?(karlt)
Assignee: nobody → ted
Attachment #730201 - Flags: review?(karlt) → review+
https://hg.mozilla.org/mozilla-central/rev/34296a241492
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: