1
0

bindings_vive_controller.json 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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/grabgrip"
  113. }
  114. },
  115. "mode": "button",
  116. "parameters": {
  117. "click_activate_threshold": "0.05",
  118. "click_deactivate_threshold": "0",
  119. "force_input": "force"
  120. },
  121. "path": "/user/hand/left/input/grip"
  122. },
  123. {
  124. "inputs": {
  125. "click": {
  126. "output": "/actions/default/in/grabpinch"
  127. }
  128. },
  129. "mode": "button",
  130. "parameters": {
  131. "click_activate_threshold": "0.75",
  132. "click_deactivate_threshold": "0.7",
  133. "force_input": "value"
  134. },
  135. "path": "/user/hand/left/input/trigger"
  136. },
  137. {
  138. "inputs": {
  139. "click": {
  140. "output": "/actions/default/in/interactui"
  141. }
  142. },
  143. "mode": "button",
  144. "path": "/user/hand/right/input/trigger"
  145. },
  146. {
  147. "inputs": {
  148. "click": {
  149. "output": "/actions/default/in/grabpinch"
  150. }
  151. },
  152. "mode": "button",
  153. "parameters": {
  154. "click_activate_threshold": "0.75",
  155. "click_deactivate_threshold": "0.7"
  156. },
  157. "path": "/user/hand/right/input/trigger"
  158. },
  159. {
  160. "inputs": {
  161. "center": {
  162. "output": "/actions/default/in/teleport"
  163. },
  164. "east": {
  165. "output": "/actions/default/in/snapturnright"
  166. },
  167. "north": {
  168. "output": "/actions/default/in/teleport"
  169. },
  170. "south": {
  171. "output": "/actions/default/in/teleport"
  172. },
  173. "west": {
  174. "output": "/actions/default/in/snapturnleft"
  175. }
  176. },
  177. "mode": "dpad",
  178. "parameters": {
  179. "deadzone_pct": "90",
  180. "overlap_pct": "15",
  181. "sub_mode": "click"
  182. },
  183. "path": "/user/hand/left/input/trackpad"
  184. },
  185. {
  186. "inputs": {
  187. "center": {
  188. "output": "/actions/default/in/teleport"
  189. },
  190. "east": {
  191. "output": "/actions/default/in/snapturnright"
  192. },
  193. "north": {
  194. "output": "/actions/default/in/teleport"
  195. },
  196. "south": {
  197. "output": "/actions/default/in/teleport"
  198. },
  199. "west": {
  200. "output": "/actions/default/in/snapturnleft"
  201. }
  202. },
  203. "mode": "dpad",
  204. "parameters": {
  205. "deadzone_pct": "90",
  206. "overlap_pct": "15",
  207. "sub_mode": "click"
  208. },
  209. "path": "/user/hand/right/input/trackpad"
  210. },
  211. {
  212. "inputs": {
  213. "click": {
  214. "output": "/actions/default/in/grabgrip"
  215. }
  216. },
  217. "mode": "button",
  218. "parameters": {
  219. "click_activate_threshold": "0.05",
  220. "click_deactivate_threshold": "0",
  221. "force_input": "force"
  222. },
  223. "path": "/user/hand/right/input/grip"
  224. },
  225. {
  226. "inputs": {
  227. "pull": {
  228. "output": "/actions/default/in/squeeze"
  229. }
  230. },
  231. "mode": "trigger",
  232. "path": "/user/hand/left/input/trigger"
  233. },
  234. {
  235. "inputs": {
  236. "pull": {
  237. "output": "/actions/default/in/squeeze"
  238. }
  239. },
  240. "mode": "trigger",
  241. "path": "/user/hand/right/input/trigger"
  242. }
  243. ]
  244. },
  245. "/actions/platformer" : {
  246. "sources" : [
  247. {
  248. "inputs" : {
  249. "click" : {
  250. "output" : "/actions/platformer/in/jump"
  251. }
  252. },
  253. "mode" : "button",
  254. "path" : "/user/hand/left/input/trackpad"
  255. },
  256. {
  257. "inputs" : {
  258. "click" : {
  259. "output" : "/actions/platformer/in/jump"
  260. }
  261. },
  262. "mode" : "button",
  263. "path" : "/user/hand/right/input/trackpad"
  264. },
  265. {
  266. "inputs" : {
  267. "position" : {
  268. "output" : "/actions/platformer/in/move"
  269. }
  270. },
  271. "mode" : "trackpad",
  272. "path" : "/user/hand/left/input/trackpad"
  273. },
  274. {
  275. "inputs" : {
  276. "position" : {
  277. "output" : "/actions/platformer/in/move"
  278. }
  279. },
  280. "mode" : "trackpad",
  281. "path" : "/user/hand/right/input/trackpad"
  282. }
  283. ]
  284. }
  285. },
  286. "controller_type" : "vive_controller",
  287. "description" : "",
  288. "name" : "vive_controller"
  289. }