Closed Bug 860413 Opened 11 years ago Closed 11 years ago

[Gamepad] Allow setting standard gamepad mapping

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: ted, Assigned: ted)

References

Details

Attachments

(1 file)

I just added Gamepad.mapping to the spec:
https://dvcs.w3.org/hg/gamepad/rev/c5c7b4651d4e

This patch implements support for it by allowing platform backends to specify that a gamepad either has no known mapping or is using the standard gamepad mapping.

This will be immediately useful for the XInput backend, and I'm working on some code to provide mappings for known controllers in other cases.
Blocks: 690937
Depends on: 690935
Blocks: 855364
Attachment #735898 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/4f36a65f0146
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
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: