Explorar o código

Clarify vibration for Android devices;

bjorn %!s(int64=5) %!d(string=hai) anos
pai
achega
47ba11f85c
Modificáronse 2 ficheiros con 3 adicións e 7 borrados
  1. 1 5
      api/init.lua
  2. 2 2
      api/lovr/headset/vibrate.lua

+ 1 - 5
api/init.lua

@@ -13397,10 +13397,6 @@ return {
               name = "menu",
               description = "The menu button."
             },
-            {
-              name = "touchpad",
-              description = "The button on the touchpad."
-            },
             {
               name = "a",
               description = "The A button."
@@ -14397,7 +14393,7 @@ return {
               }
             }
           },
-          notes = "When using the `openvr` headset driver on an HTC Vive, the value for the `duration` currently must be less than .004 seconds.  Call this function several frames in a row for stronger or prolonged vibration patterns.\n\nThe `oculus` headset driver does not currently support haptics.\n\nOn the `oculusmobile` driver, devices can only be vibrated once per frame.  Any attempts after the first will return `false`."
+          notes = "When using the `openvr` headset driver on an HTC Vive, the value for the `duration` currently must be less than .004 seconds.  Call this function several frames in a row for stronger or prolonged vibration patterns.\n\nThe `oculus` headset driver does not currently support haptics.\n\nOn the Oculus Quest, devices can only be vibrated once per frame.  Any attempts after the first will return `false`.  The Oculus Go controller does not support vibration."
         }
       },
       objects = {}

+ 2 - 2
api/lovr/headset/vibrate.lua

@@ -44,7 +44,7 @@ return {
 
     The `oculus` headset driver does not currently support haptics.
 
-    On the `oculusmobile` driver, devices can only be vibrated once per frame.  Any attempts after
-    the first will return `false`.
+    On the Oculus Quest, devices can only be vibrated once per frame.  Any attempts after the first
+    will return `false`.  The Oculus Go controller does not support vibration.
   ]]
 }