Index: modules/gamepad/Gamepad.idl |
diff --git a/modules/gamepad/Gamepad.idl b/modules/gamepad/Gamepad.idl |
index 937cf2d469a93d4e7ffa4c320028bedad9196970..9ec0905c530d19492637117ef28a0ccd9e346350 100644 |
--- a/modules/gamepad/Gamepad.idl |
+++ b/modules/gamepad/Gamepad.idl |
@@ -24,13 +24,15 @@ |
*/ |
[ |
- WillBeGarbageCollected, |
- NoInterfaceObject |
+ GarbageCollected, |
] interface Gamepad { |
readonly attribute DOMString id; |
readonly attribute unsigned long index; |
+ readonly attribute boolean connected; |
readonly attribute unsigned long long timestamp; |
- readonly attribute float[] axes; |
- readonly attribute float[] buttons; |
+ readonly attribute DOMString mapping; |
+ readonly attribute double[] axes; |
+// FIXMEDART: enable buttons for dart once we handle HeapVector propertly on |
+// the Dart side of the bindings. |
+ [DartSuppress] readonly attribute GamepadButton[] buttons; |
}; |
- |