bug 21323 - add a connected attribute to Gamepad object
authorTed Mielczarek <ted@mielczarek.org>
Fri, 22 Mar 2013 08:14:41 -0400
changeset 18a2c5e56138f4
parent 17 c20f0f139c78
child 19 27b047265c4d
bug 21323 - add a connected attribute to Gamepad object
gamepad.html
     1.1 --- a/gamepad.html	Wed Jan 30 13:45:05 2013 -0500
     1.2 +++ b/gamepad.html	Fri Mar 22 08:14:41 2013 -0400
     1.3 @@ -209,6 +209,16 @@
     1.4  
     1.5          </dd>
     1.6  
     1.7 +        <dt>readonly attribute boolean connected</dt>
     1.8 +        <dd>
     1.9 +          Indicates whether the physical device represented by this
    1.10 +          object is still connected to the system.
    1.11 +
    1.12 +          When a gamepad becomes unavailable, whether by being physically
    1.13 +          disconnected, powered off or otherwise unusable, the
    1.14 +          <code>connected</code> attribute MUST be set to false.
    1.15 +        </dd>
    1.16 +
    1.17          <dt>readonly attribute DOMHighResTimeStamp timestamp</dt>
    1.18  
    1.19          <dd>