diff --git a/index.html b/index.html index c75088a..cbc2c71 100644 --- a/index.html +++ b/index.html @@ -1177,8 +1177,11 @@
@@ -1375,6 +1388,13 @@
+ This section introduces an extended gamepad button mapping beyond the [=Standard Gamepad=] mapping. + These additional buttons are commonly found on certain gamepad models. + Some examples of these additional buttons include trackpads or touchpads, share or capture buttons, + voice assistant buttons, home buttons, and various squeeze buttons. + It's important to note that this list is not exhaustive, and user agents may utilize different + or additional buttons for these or other gamepad models. + Consequently, the number of buttons on the {{Gamepad}} is not limited to the standard mapping of 17 buttons. +
++ To accommodate additional gamepad buttons, we have defined an enumeration for the various button types termed + {{GamepadButtonType}}, and have expanded the {{GamepadButton}} interface to encompass this new + {{GamepadButtonType}} enumeration. +
++ This enum defines the set of possible button types. +
+
+ enum GamepadButtonType {
+ "non-standard",
+ "standard",
+ "trackpad",
+ };
+
+