diff --git a/index.html b/index.html index 4d4318a..6ee48bf 100644 --- a/index.html +++ b/index.html @@ -900,6 +900,7 @@
@@ -952,6 +953,17 @@
+ This section introduces an extended gamepad button mapping beyond the Standard Gamepad layout. + These additional buttons are commonly found on certain gamepad models. + The following table defines the extended buttons used by some gamepad models in the following diagrams. + 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 extended gamepads, we have incorporated an "extended" mapping enumeration + into the GamepadMappingType. Additionally, we have defined an enumeration for the various + button types in the table, termed "GamepadButtonType", and have expanded the "GamepadButton" + interface to encompass this new button type enumeration. +
+Buttons | +Gamepad Models | +
---|---|
trackpad/touchpad | +Sony DualSense, DualShock 4 | +
share/capture | +Nintendo Switch controllers + Stadia controller + Xbox Wireless Controller Model 1914 |
+
voice assistant | +Amazon Luna Controller + Google Stadia Controller + Nvidia Shield Controller |
+
squeeze_left | +PlayStation DualSense Edge + Xbox Elite Wireless Controller |
+
squeeze_left_lower | +Xbox Elite Wireless Controller | +
squeeze_right | +PlayStation DualSense Edge + Xbox Elite Wireless Controller |
+
squeeze_right_lower | +Xbox Elite Wireless Controller | +
+ This enum defines the set of possible button types. +
++ enum GamepadButtonType { + "trackpad", + "share", + "voice_assist", + "squeeze_left", + "squeeze_left_lower", + "squeeze_right", + "squeeze_right_lower" + }; ++