actions.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. {
  2. "actions": [
  3. {
  4. "name": "/actions/default/in/InteractUI",
  5. "type": "boolean"
  6. },
  7. {
  8. "name": "/actions/default/in/Teleport",
  9. "type": "boolean"
  10. },
  11. {
  12. "name": "/actions/default/in/GrabPinch",
  13. "type": "boolean"
  14. },
  15. {
  16. "name": "/actions/default/in/GrabGrip",
  17. "type": "boolean"
  18. },
  19. {
  20. "name": "/actions/default/in/Pose",
  21. "type": "pose"
  22. },
  23. {
  24. "name": "/actions/default/in/SkeletonLeftHand",
  25. "type": "skeleton",
  26. "skeleton": "/skeleton/hand/left"
  27. },
  28. {
  29. "name": "/actions/default/in/SkeletonRightHand",
  30. "type": "skeleton",
  31. "skeleton": "/skeleton/hand/right"
  32. },
  33. {
  34. "name": "/actions/default/in/Squeeze",
  35. "type": "vector1",
  36. "requirement": "optional"
  37. },
  38. {
  39. "name": "/actions/default/in/HeadsetOnHead",
  40. "type": "boolean",
  41. "requirement": "optional"
  42. },
  43. {
  44. "name": "/actions/default/in/SnapTurnLeft",
  45. "type": "boolean",
  46. "requirement": "suggested"
  47. },
  48. {
  49. "name": "/actions/default/in/SnapTurnRight",
  50. "type": "boolean"
  51. },
  52. {
  53. "name": "/actions/default/out/Haptic",
  54. "type": "vibration"
  55. },
  56. {
  57. "name": "/actions/platformer/in/Move",
  58. "type": "vector2"
  59. },
  60. {
  61. "name": "/actions/platformer/in/Jump",
  62. "type": "boolean"
  63. },
  64. {
  65. "name": "/actions/buggy/in/Steering",
  66. "type": "vector2"
  67. },
  68. {
  69. "name": "/actions/buggy/in/Throttle",
  70. "type": "vector1"
  71. },
  72. {
  73. "name": "/actions/buggy/in/Brake",
  74. "type": "boolean"
  75. },
  76. {
  77. "name": "/actions/buggy/in/Reset",
  78. "type": "boolean"
  79. },
  80. {
  81. "name": "/actions/mixedreality/in/ExternalCamera",
  82. "type": "pose",
  83. "requirement": "optional"
  84. },
  85. {
  86. "name": "/actions/bikevr/in/ResetPosition",
  87. "type": "boolean",
  88. "requirement": "mandatory"
  89. },
  90. {
  91. "name": "/actions/bikevr/in/MovePlayerForward",
  92. "type": "boolean",
  93. "requirement": "mandatory"
  94. },
  95. {
  96. "name": "/actions/bikevr/in/MovePlayerModeSwitch",
  97. "type": "boolean"
  98. },
  99. {
  100. "name": "/actions/bikevr/in/MovePlayerBackward",
  101. "type": "boolean",
  102. "requirement": "mandatory"
  103. },
  104. {
  105. "name": "/actions/bikevr/in/MovePlayerLeft",
  106. "type": "boolean",
  107. "requirement": "mandatory"
  108. },
  109. {
  110. "name": "/actions/bikevr/in/MovePlayerRight",
  111. "type": "boolean",
  112. "requirement": "mandatory"
  113. },
  114. {
  115. "name": "/actions/bikevr/in/ResetBikePosition",
  116. "type": "boolean"
  117. },
  118. {
  119. "name": "/actions/bikevr/in/Steer",
  120. "type": "pose"
  121. }
  122. ],
  123. "action_sets": [
  124. {
  125. "name": "/actions/default",
  126. "usage": "single"
  127. },
  128. {
  129. "name": "/actions/platformer",
  130. "usage": "single"
  131. },
  132. {
  133. "name": "/actions/buggy",
  134. "usage": "single"
  135. },
  136. {
  137. "name": "/actions/mixedreality",
  138. "usage": "single"
  139. },
  140. {
  141. "name": "/actions/bikevr",
  142. "usage": "single"
  143. }
  144. ],
  145. "default_bindings": [
  146. {
  147. "controller_type": "vive_controller",
  148. "binding_url": "bindings_vive_controller.json"
  149. },
  150. {
  151. "controller_type": "oculus_touch",
  152. "binding_url": "bindings_oculus_touch.json"
  153. },
  154. {
  155. "controller_type": "knuckles",
  156. "binding_url": "bindings_knuckles.json"
  157. },
  158. {
  159. "controller_type": "holographic_controller",
  160. "binding_url": "bindings_holographic_controller.json"
  161. },
  162. {
  163. "controller_type": "vive_cosmos_controller",
  164. "binding_url": "bindings_vive_cosmos_controller.json"
  165. },
  166. {
  167. "controller_type": "logitech_stylus",
  168. "binding_url": "bindings_logitech_stylus.json"
  169. },
  170. {
  171. "controller_type": "vive_cosmos",
  172. "binding_url": "binding_vive_cosmos.json"
  173. },
  174. {
  175. "controller_type": "vive",
  176. "binding_url": "binding_vive.json"
  177. },
  178. {
  179. "controller_type": "indexhmd",
  180. "binding_url": "binding_index_hmd.json"
  181. },
  182. {
  183. "controller_type": "vive_pro",
  184. "binding_url": "binding_vive_pro.json"
  185. },
  186. {
  187. "controller_type": "rift",
  188. "binding_url": "binding_rift.json"
  189. },
  190. {
  191. "controller_type": "holographic_hmd",
  192. "binding_url": "binding_holographic_hmd.json"
  193. },
  194. {
  195. "controller_type": "vive_tracker_camera",
  196. "binding_url": "binding_vive_tracker_camera.json"
  197. }
  198. ],
  199. "localization": [
  200. {
  201. "language_tag": "en_US",
  202. "/actions/default/in/GrabGrip": "Grab Grip",
  203. "/actions/default/in/GrabPinch": "Grab Pinch",
  204. "/actions/default/in/HeadsetOnHead": "Headset on head (proximity sensor)",
  205. "/actions/default/in/InteractUI": "Interact With UI",
  206. "/actions/default/in/Pose": "Pose",
  207. "/actions/default/in/SkeletonLeftHand": "Skeleton (Left)",
  208. "/actions/default/in/SkeletonRightHand": "Skeleton (Right)",
  209. "/actions/default/in/Teleport": "Teleport",
  210. "/actions/default/out/Haptic": "Haptic",
  211. "/actions/platformer/in/Jump": "Jump",
  212. "/actions/default/in/SnapTurnLeft": "Snap Turn (Left)",
  213. "/actions/default/in/SnapTurnRight": "Snap Turn (Right)",
  214. "/actions/bikevr/in/MovePlayerModeSwitch": "MovePlayerModeSwitch",
  215. "/actions/bikevr/in/ResetPosition": "ResetPosition",
  216. "/actions/bikevr/in/MovePlayerBackward": "MovePlayerBackward",
  217. "/actions/bikevr/in/MovePlayerLeft": "MovePlayerLeft",
  218. "/actions/bikevr/in/MovePlayerRight": "MovePlayerRight",
  219. "/actions/bikevr/in/ResetBikePosition": "ResetBikePosition"
  220. }
  221. ]
  222. }