bindings_vive_controller.json 7.8 KB

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