Pārlūkot izejas kodu

Add beacon devices;

bjorn 4 gadi atpakaļ
vecāks
revīzija
897fb16eb7
2 mainītis faili ar 32 papildinājumiem un 0 dzēšanām
  1. 16 0
      api/init.lua
  2. 16 0
      api/lovr/headset/Device.lua

+ 16 - 0
api/init.lua

@@ -13746,6 +13746,22 @@ return {
             {
               name = "eye/right",
               description = "The right eye."
+            },
+            {
+              name = "beacon/1",
+              description = "The first tracking device (i.e. lighthouse)."
+            },
+            {
+              name = "beacon/2",
+              description = "The second tracking device (i.e. lighthouse)."
+            },
+            {
+              name = "beacon/3",
+              description = "The third tracking device (i.e. lighthouse)."
+            },
+            {
+              name = "beacon/4",
+              description = "The fourth tracking device (i.e. lighthouse)."
             }
           }
         },

+ 16 - 0
api/lovr/headset/Device.lua

@@ -28,6 +28,22 @@ return {
     {
       name = 'eye/right',
       description = 'The right eye.'
+    },
+    {
+      name = 'beacon/1',
+      description = 'The first tracking device (i.e. lighthouse).'
+    },
+    {
+      name = 'beacon/2',
+      description = 'The second tracking device (i.e. lighthouse).'
+    },
+    {
+      name = 'beacon/3',
+      description = 'The third tracking device (i.e. lighthouse).'
+    },
+    {
+      name = 'beacon/4',
+      description = 'The fourth tracking device (i.e. lighthouse).'
     }
   }
 }