[Bug 21388] New: handling of analog vs. digital buttons

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21388

            Bug ID: 21388
           Summary: handling of analog vs. digital buttons
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Gamepad
          Assignee: ted@mielczarek.org
          Reporter: ted@mielczarek.org
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org,
                    scott.w3bugzilla@h4ck3r.net

Currently the spec represents buttons as an array of double values, to handle
analog buttons (like the trigger buttons on most modern gamepads). However, I'm
starting to think this might not be sufficient. The Playstation 3 controller,
for example, has pressure-sensitive buttons which provide both a digital
(pressed/not pressed) and an analog (how hard is it being pressed) value. It
seems like it would be unfortunate to lose part of that data.

Should we spec button values to include both a boolean and a double value?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 25 March 2013 12:51:51 UTC