actions.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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. "name": "/actions/bikevr/in/Pose",
  124. "type": "pose",
  125. "requirement": "suggested"
  126. },
  127. {
  128. "name": "/actions/bikevr/out/Haptic",
  129. "type": "vibration"
  130. }
  131. ],
  132. "action_sets": [
  133. {
  134. "name": "/actions/default",
  135. "usage": "single"
  136. },
  137. {
  138. "name": "/actions/platformer",
  139. "usage": "single"
  140. },
  141. {
  142. "name": "/actions/buggy",
  143. "usage": "single"
  144. },
  145. {
  146. "name": "/actions/mixedreality",
  147. "usage": "single"
  148. },
  149. {
  150. "name": "/actions/bikevr",
  151. "usage": "single"
  152. }
  153. ],
  154. "default_bindings": [
  155. {
  156. "controller_type": "vive_controller",
  157. "binding_url": "bindings_vive_controller.json"
  158. },
  159. {
  160. "controller_type": "oculus_touch",
  161. "binding_url": "bindings_oculus_touch.json"
  162. },
  163. {
  164. "controller_type": "knuckles",
  165. "binding_url": "bindings_knuckles.json"
  166. },
  167. {
  168. "controller_type": "holographic_controller",
  169. "binding_url": "bindings_holographic_controller.json"
  170. },
  171. {
  172. "controller_type": "vive_cosmos_controller",
  173. "binding_url": "bindings_vive_cosmos_controller.json"
  174. },
  175. {
  176. "controller_type": "logitech_stylus",
  177. "binding_url": "bindings_logitech_stylus.json"
  178. },
  179. {
  180. "controller_type": "vive_cosmos",
  181. "binding_url": "binding_vive_cosmos.json"
  182. },
  183. {
  184. "controller_type": "vive",
  185. "binding_url": "binding_vive.json"
  186. },
  187. {
  188. "controller_type": "indexhmd",
  189. "binding_url": "binding_index_hmd.json"
  190. },
  191. {
  192. "controller_type": "vive_pro",
  193. "binding_url": "binding_vive_pro.json"
  194. },
  195. {
  196. "controller_type": "rift",
  197. "binding_url": "binding_rift.json"
  198. },
  199. {
  200. "controller_type": "holographic_hmd",
  201. "binding_url": "binding_holographic_hmd.json"
  202. },
  203. {
  204. "controller_type": "vive_tracker_camera",
  205. "binding_url": "binding_vive_tracker_camera.json"
  206. }
  207. ],
  208. "localization": [
  209. {
  210. "language_tag": "en_US",
  211. "/actions/default/in/GrabGrip": "Grab Grip",
  212. "/actions/default/in/GrabPinch": "Grab Pinch",
  213. "/actions/default/in/HeadsetOnHead": "Headset on head (proximity sensor)",
  214. "/actions/default/in/InteractUI": "Interact With UI",
  215. "/actions/default/in/Pose": "Pose",
  216. "/actions/default/in/SkeletonLeftHand": "Skeleton (Left)",
  217. "/actions/default/in/SkeletonRightHand": "Skeleton (Right)",
  218. "/actions/default/in/Teleport": "Teleport",
  219. "/actions/default/out/Haptic": "Haptic",
  220. "/actions/platformer/in/Jump": "Jump",
  221. "/actions/default/in/SnapTurnLeft": "Snap Turn (Left)",
  222. "/actions/default/in/SnapTurnRight": "Snap Turn (Right)",
  223. "/actions/bikevr/in/MovePlayerModeSwitch": "MovePlayerModeSwitch",
  224. "/actions/bikevr/in/ResetPosition": "ResetPosition",
  225. "/actions/bikevr/in/MovePlayerBackward": "MovePlayerBackward",
  226. "/actions/bikevr/in/MovePlayerLeft": "MovePlayerLeft",
  227. "/actions/bikevr/in/MovePlayerRight": "MovePlayerRight",
  228. "/actions/bikevr/in/ResetBikePosition": "ResetBikePosition"
  229. }
  230. ]
  231. }