Browse Source

rm lovr.headset.hands;

bjorn 6 years ago
parent
commit
87d7929e98
2 changed files with 0 additions and 47 deletions
  1. 0 26
      api/init.lua
  2. 0 21
      api/lovr/headset/hands.lua

+ 0 - 26
api/init.lua

@@ -13061,32 +13061,6 @@ return {
             }
           }
         },
-        {
-          name = "hands",
-          summary = "Iterate over currently tracked hand devices.",
-          description = "Returns a Lua iterator for all of the currently tracked hand devices.",
-          key = "lovr.headset.hands",
-          module = "lovr.headset",
-          variants = {
-            {
-              arguments = {},
-              returns = {
-                {
-                  name = "iterator",
-                  type = "function",
-                  description = "The iterator function, usable in a for loop.  Will return `Device` paths.",
-                  arguments = {},
-                  returns = {}
-                }
-              }
-            }
-          },
-          examples = {
-            {
-              code = "function lovr.update(dt)\n  for hand in lovr.headset.hands() do\n    print(hand, lovr.headset.getPose(hand))\n  end\nend"
-            }
-          }
-        },
         {
           name = "isDown",
           tag = "input",

+ 0 - 21
api/lovr/headset/hands.lua

@@ -1,21 +0,0 @@
-return {
-  summary = 'Iterate over currently tracked hand devices.',
-  description = 'Returns a Lua iterator for all of the currently tracked hand devices.',
-  arguments = {},
-  returns = {
-    {
-      name = 'iterator',
-      type = 'function',
-      arguments = {},
-      returns = {},
-      description = 'The iterator function, usable in a for loop.  Will return `Device` paths.'
-    }
-  },
-  example = [[
-    function lovr.update(dt)
-      for hand in lovr.headset.hands() do
-        print(hand, lovr.headset.getPose(hand))
-      end
-    end
-  ]]
-}