From 349a9e495ab4e372efd952399f4891fd6101b81f Mon Sep 17 00:00:00 2001 From: Bradley Needham Date: Wed, 10 Jul 2024 10:04:42 -0700 Subject: [PATCH] Change GamepadTouch to dictionary --- index.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 7f252f7..b488a7f 100644 --- a/index.html +++ b/index.html @@ -1169,10 +1169,10 @@

- GamepadTouch Interface + GamepadTouch dictionary

- This interface defines a single touch event on a gamepad device that + This dictionary defines a single touch on a gamepad device that supports input. The event consists of a touch id that uniquely identifies the touch point from the time the input medium (e.g. finger, stylus, etc) makes contact with the touch device, up to the time the @@ -1180,11 +1180,11 @@

         [Exposed=Window, SecureContext]
-        interface GamepadTouch {
-          readonly attribute unsigned long touchId;
-          readonly attribute octet surfaceId;
-          readonly attribute Float32Array position;
-          readonly attribute Uint32Array? surfaceDimensions;
+        dictionary GamepadTouch {
+          unsigned long touchId;
+          octet surfaceId;
+          Float32Array position;
+          Uint32Array surfaceDimensions;
         };