diff --git a/index.html b/index.html index 8ca6304..799fbe5 100644 --- a/index.html +++ b/index.html @@ -820,8 +820,13 @@
@@ -1018,6 +1031,13 @@
+ This section introduces an extended gamepad button mapping beyond the [=Standard Gamepad=] mapping. + These additional buttons are commonly found on certain gamepad models. + The following definition list represents the additional buttons used by some gamepad models. + 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. +
+Buttons | +Gamepad Models | +
---|---|
trackpad/touchpad | +Sony DualSense, DualShock 4 | +
share/capture | +Xbox Wireless Controller Model 1914 + Nintendo Switch controllers + Stadia controller + |
+
voice assistant | +Google Stadia Controller + Amazon Luna Controller + |
+
home | +Nvidia Shield Gamepad | +
squeeze_left | +Xbox Elite Wireless Controller + PlayStation DualSense Edge |
+
squeeze_left_lower | +Xbox Elite Wireless Controller | +
squeeze_right | +Xbox Elite Wireless Controller + PlayStation DualSense Edge |
+
squeeze_right_lower | +Xbox Elite Wireless Controller | +
+ 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 { + "standard", + "non-standard", + "trackpad", + }; ++