bindings_vive_controller.json 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. {
  2. "bindings" : {
  3. "/actions/buggy" : {
  4. "sources" : [
  5. {
  6. "inputs" : {
  7. "pull" : {
  8. "output" : "/actions/buggy/in/throttle"
  9. }
  10. },
  11. "mode" : "trigger",
  12. "path" : "/user/hand/left/input/trigger"
  13. },
  14. {
  15. "inputs" : {
  16. "pull" : {
  17. "output" : "/actions/buggy/in/throttle"
  18. }
  19. },
  20. "mode" : "trigger",
  21. "path" : "/user/hand/right/input/trigger"
  22. },
  23. {
  24. "inputs" : {
  25. "click" : {
  26. "output" : "/actions/buggy/in/brake"
  27. },
  28. "position" : {
  29. "output" : "/actions/buggy/in/steering"
  30. }
  31. },
  32. "mode" : "trackpad",
  33. "path" : "/user/hand/left/input/trackpad"
  34. },
  35. {
  36. "inputs" : {
  37. "click" : {
  38. "output" : "/actions/buggy/in/brake"
  39. },
  40. "position" : {
  41. "output" : "/actions/buggy/in/steering"
  42. }
  43. },
  44. "mode" : "trackpad",
  45. "path" : "/user/hand/right/input/trackpad"
  46. },
  47. {
  48. "inputs" : {
  49. "click" : {
  50. "output" : "/actions/buggy/in/reset"
  51. }
  52. },
  53. "mode" : "button",
  54. "path" : "/user/hand/left/input/application_menu"
  55. },
  56. {
  57. "inputs" : {
  58. "click" : {
  59. "output" : "/actions/buggy/in/reset"
  60. }
  61. },
  62. "mode" : "button",
  63. "path" : "/user/hand/right/input/application_menu"
  64. }
  65. ]
  66. },
  67. "/actions/default" : {
  68. "chords" : [],
  69. "haptics" : [
  70. {
  71. "output" : "/actions/default/out/haptic",
  72. "path" : "/user/hand/left/output/haptic"
  73. },
  74. {
  75. "output" : "/actions/default/out/haptic",
  76. "path" : "/user/hand/right/output/haptic"
  77. }
  78. ],
  79. "poses" : [
  80. {
  81. "output" : "/actions/default/in/pose",
  82. "path" : "/user/hand/left/pose/raw"
  83. },
  84. {
  85. "output" : "/actions/default/in/pose",
  86. "path" : "/user/hand/right/pose/raw"
  87. }
  88. ],
  89. "skeleton" : [
  90. {
  91. "output" : "/actions/default/in/skeletonlefthand",
  92. "path" : "/user/hand/left/input/skeleton/left"
  93. },
  94. {
  95. "output" : "/actions/default/in/skeletonrighthand",
  96. "path" : "/user/hand/right/input/skeleton/right"
  97. }
  98. ],
  99. "sources" : [
  100. {
  101. "inputs" : {
  102. "click" : {
  103. "output" : "/actions/default/in/interactui"
  104. }
  105. },
  106. "mode" : "button",
  107. "path" : "/user/hand/left/input/trigger"
  108. },
  109. {
  110. "inputs" : {
  111. "click" : {
  112. "output" : "/actions/default/in/teleport"
  113. }
  114. },
  115. "mode" : "button",
  116. "path" : "/user/hand/left/input/trackpad"
  117. },
  118. {
  119. "inputs" : {
  120. "click" : {
  121. "output" : "/actions/default/in/grabgrip"
  122. }
  123. },
  124. "mode" : "button",
  125. "parameters" : {
  126. "click_activate_threshold" : "0.05",
  127. "click_deactivate_threshold" : "0",
  128. "force_input" : "force"
  129. },
  130. "path" : "/user/hand/left/input/grip"
  131. },
  132. {
  133. "inputs" : {
  134. "click" : {
  135. "output" : "/actions/default/in/grabpinch"
  136. }
  137. },
  138. "mode" : "button",
  139. "parameters" : {
  140. "click_activate_threshold" : "0.75",
  141. "click_deactivate_threshold" : "0.7",
  142. "force_input" : "value"
  143. },
  144. "path" : "/user/hand/left/input/trigger"
  145. },
  146. {
  147. "inputs" : {
  148. "click" : {
  149. "output" : "/actions/default/in/interactui"
  150. }
  151. },
  152. "mode" : "button",
  153. "path" : "/user/hand/right/input/trigger"
  154. },
  155. {
  156. "inputs" : {
  157. "click" : {
  158. "output" : "/actions/default/in/grabpinch"
  159. }
  160. },
  161. "mode" : "button",
  162. "parameters" : {
  163. "click_activate_threshold" : "0.75",
  164. "click_deactivate_threshold" : "0.7"
  165. },
  166. "path" : "/user/hand/right/input/trigger"
  167. },
  168. {
  169. "inputs" : {
  170. "click" : {
  171. "output" : "/actions/default/in/teleport"
  172. }
  173. },
  174. "mode" : "button",
  175. "path" : "/user/hand/right/input/trackpad"
  176. },
  177. {
  178. "inputs" : {
  179. "click" : {
  180. "output" : "/actions/default/in/grabgrip"
  181. }
  182. },
  183. "mode" : "button",
  184. "parameters" : {
  185. "click_activate_threshold" : "0.05",
  186. "click_deactivate_threshold" : "0",
  187. "force_input" : "force"
  188. },
  189. "path" : "/user/hand/right/input/grip"
  190. },
  191. {
  192. "inputs" : {
  193. "pull" : {
  194. "output" : "/actions/default/in/squeeze"
  195. }
  196. },
  197. "mode" : "trigger",
  198. "path" : "/user/hand/left/input/trigger"
  199. },
  200. {
  201. "inputs" : {
  202. "pull" : {
  203. "output" : "/actions/default/in/squeeze"
  204. }
  205. },
  206. "mode" : "trigger",
  207. "path" : "/user/hand/right/input/trigger"
  208. }
  209. ]
  210. },
  211. "/actions/platformer" : {
  212. "sources" : [
  213. {
  214. "inputs" : {
  215. "click" : {
  216. "output" : "/actions/platformer/in/jump"
  217. }
  218. },
  219. "mode" : "button",
  220. "path" : "/user/hand/left/input/trackpad"
  221. },
  222. {
  223. "inputs" : {
  224. "click" : {
  225. "output" : "/actions/platformer/in/jump"
  226. }
  227. },
  228. "mode" : "button",
  229. "path" : "/user/hand/right/input/trackpad"
  230. },
  231. {
  232. "inputs" : {
  233. "position" : {
  234. "output" : "/actions/platformer/in/move"
  235. }
  236. },
  237. "mode" : "trackpad",
  238. "path" : "/user/hand/left/input/trackpad"
  239. },
  240. {
  241. "inputs" : {
  242. "position" : {
  243. "output" : "/actions/platformer/in/move"
  244. }
  245. },
  246. "mode" : "trackpad",
  247. "path" : "/user/hand/right/input/trackpad"
  248. }
  249. ]
  250. }
  251. },
  252. "controller_type" : "vive_controller",
  253. "description" : "",
  254. "name" : "vive_controller"
  255. }