Closed
Bug 860409
Opened 12 years ago
Closed 12 years ago
[Gamepad] Allow passing both an analog and digital value for buttons
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: ted, Assigned: ted)
References
Details
Attachments
(1 file)
7.11 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Currently the GamepadService only allows passing in a digital value representing pressed or not pressed, but the spec requires exposing buttons as a double to support analog buttons. This lets the platform backends pass in analog values as well, although none of them currently do. (The XInput backend will be able to use this.)
I'd like to change the spec to expose both the analog and digital values, since I think that'd be useful. I filed a spec bug on this recently:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21388
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #735887 -
Flags: review?(bugs)
Updated•12 years ago
|
Attachment #735887 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•