diff --git a/index.html b/index.html index a0d1b6f..8d6d80f 100644 --- a/index.html +++ b/index.html @@ -336,6 +336,20 @@

GamepadButton Interface

reasonable value. +
readonly attribute boolean touched
+
+ The touched state of the button. If the button is capable of detecting + touch this property MUST be true if the button is currently being + touched and false otherwise. + + If the button is not capable of detecting touch and is capable of + reporting an analog value this property MUST be true if + the value property is greater than zero and false if the value is 0. + + If the button is not capable of detecting touch and can only report a + digital value this property MUST mirror the pressed value. +
+
readonly attribute double value
For buttons that have an analog sensor, this property