bindings_vive_cosmos_controller.json 8.2 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. "position" : {
  26. "output" : "/actions/buggy/in/steering"
  27. }
  28. },
  29. "mode" : "joystick",
  30. "path" : "/user/hand/left/input/joystick"
  31. },
  32. {
  33. "inputs" : {
  34. "position" : {
  35. "output" : "/actions/buggy/in/steering"
  36. }
  37. },
  38. "mode" : "joystick",
  39. "path" : "/user/hand/right/input/joystick"
  40. },
  41. {
  42. "inputs" : {
  43. "click" : {
  44. "output" : "/actions/buggy/in/brake"
  45. }
  46. },
  47. "mode" : "button",
  48. "path" : "/user/hand/left/input/x"
  49. },
  50. {
  51. "inputs" : {
  52. "click" : {
  53. "output" : "/actions/buggy/in/reset"
  54. }
  55. },
  56. "mode" : "button",
  57. "path" : "/user/hand/left/input/y"
  58. },
  59. {
  60. "inputs" : {
  61. "click" : {
  62. "output" : "/actions/buggy/in/brake"
  63. }
  64. },
  65. "mode" : "button",
  66. "path" : "/user/hand/right/input/a"
  67. },
  68. {
  69. "inputs" : {
  70. "click" : {
  71. "output" : "/actions/buggy/in/reset"
  72. }
  73. },
  74. "mode" : "button",
  75. "path" : "/user/hand/right/input/b"
  76. }
  77. ]
  78. },
  79. "/actions/default" : {
  80. "chords" : [],
  81. "haptics" : [
  82. {
  83. "output" : "/actions/default/out/haptic",
  84. "path" : "/user/hand/left/output/haptic"
  85. },
  86. {
  87. "output" : "/actions/default/out/haptic",
  88. "path" : "/user/hand/right/output/haptic"
  89. }
  90. ],
  91. "poses" : [
  92. {
  93. "output" : "/actions/default/in/pose",
  94. "path" : "/user/hand/left/pose/raw"
  95. },
  96. {
  97. "output" : "/actions/default/in/pose",
  98. "path" : "/user/hand/right/pose/raw"
  99. }
  100. ],
  101. "skeleton" : [
  102. {
  103. "output" : "/actions/default/in/skeletonlefthand",
  104. "path" : "/user/hand/left/input/skeleton/left"
  105. },
  106. {
  107. "output" : "/actions/default/in/skeletonrighthand",
  108. "path" : "/user/hand/right/input/skeleton/right"
  109. }
  110. ],
  111. "sources": [
  112. {
  113. "inputs": {
  114. "click": {
  115. "output": "/actions/default/in/interactui"
  116. }
  117. },
  118. "mode": "button",
  119. "path": "/user/hand/left/input/trigger"
  120. },
  121. {
  122. "inputs": {
  123. "click": {
  124. "output": "/actions/default/in/grabgrip"
  125. }
  126. },
  127. "mode": "button",
  128. "path": "/user/hand/left/input/grip"
  129. },
  130. {
  131. "inputs": {
  132. "click": {
  133. "output": "/actions/default/in/grabpinch"
  134. }
  135. },
  136. "mode": "button",
  137. "parameters": {
  138. "click_activate_threshold": "0.8",
  139. "click_deactivate_threshold": "0.7",
  140. "force_input": "value"
  141. },
  142. "path": "/user/hand/left/input/trigger"
  143. },
  144. {
  145. "inputs": {
  146. "click": {
  147. "output": "/actions/default/in/interactui"
  148. }
  149. },
  150. "mode": "button",
  151. "path": "/user/hand/right/input/trigger"
  152. },
  153. {
  154. "inputs": {
  155. "click": {
  156. "output": "/actions/default/in/grabpinch"
  157. }
  158. },
  159. "mode": "button",
  160. "parameters": {
  161. "click_activate_threshold": "0.8",
  162. "click_deactivate_threshold": "0.7"
  163. },
  164. "path": "/user/hand/right/input/trigger"
  165. },
  166. {
  167. "inputs": {
  168. "north": {
  169. "output": "/actions/default/in/teleport"
  170. }
  171. },
  172. "mode": "dpad",
  173. "parameters": {
  174. "deadzone_pct": "25",
  175. "overlap_pct": "30",
  176. "sub_mode": "touch"
  177. },
  178. "path": "/user/hand/left/input/joystick"
  179. },
  180. {
  181. "inputs": {
  182. "north": {
  183. "output": "/actions/default/in/teleport"
  184. }
  185. },
  186. "mode": "dpad",
  187. "parameters": {
  188. "deadzone_pct": "25",
  189. "overlap_pct": "30",
  190. "sub_mode": "touch"
  191. },
  192. "path": "/user/hand/right/input/joystick"
  193. },
  194. {
  195. "inputs": {
  196. "east": {
  197. "output": "/actions/default/in/snapturnright"
  198. },
  199. "west": {
  200. "output": "/actions/default/in/snapturnleft"
  201. }
  202. },
  203. "mode": "dpad",
  204. "parameters": {
  205. "deadzone_pct": "85",
  206. "overlap_pct": "0",
  207. "sub_mode": "touch"
  208. },
  209. "path": "/user/hand/left/input/joystick"
  210. },
  211. {
  212. "inputs": {
  213. "east": {
  214. "output": "/actions/default/in/snapturnright"
  215. },
  216. "west": {
  217. "output": "/actions/default/in/snapturnleft"
  218. }
  219. },
  220. "mode": "dpad",
  221. "parameters": {
  222. "deadzone_pct": "85",
  223. "overlap_pct": "0",
  224. "sub_mode": "touch"
  225. },
  226. "path": "/user/hand/right/input/joystick"
  227. },
  228. {
  229. "inputs": {
  230. "click": {
  231. "output": "/actions/default/in/grabgrip"
  232. }
  233. },
  234. "mode": "button",
  235. "path": "/user/hand/right/input/grip"
  236. },
  237. {
  238. "inputs": {
  239. "pull": {
  240. "output": "/actions/default/in/squeeze"
  241. }
  242. },
  243. "mode": "trigger",
  244. "path": "/user/hand/left/input/trigger"
  245. },
  246. {
  247. "inputs": {
  248. "pull": {
  249. "output": "/actions/default/in/squeeze"
  250. }
  251. },
  252. "mode": "trigger",
  253. "path": "/user/hand/right/input/trigger"
  254. }
  255. ]
  256. },
  257. "/actions/platformer" : {
  258. "sources" : [
  259. {
  260. "inputs" : {
  261. "click" : {
  262. "output" : "/actions/platformer/in/jump"
  263. },
  264. "position" : {
  265. "output" : "/actions/platformer/in/move"
  266. }
  267. },
  268. "mode" : "joystick",
  269. "path" : "/user/hand/left/input/joystick"
  270. },
  271. {
  272. "inputs" : {
  273. "click" : {
  274. "output" : "/actions/platformer/in/jump"
  275. },
  276. "position" : {
  277. "output" : "/actions/platformer/in/move"
  278. }
  279. },
  280. "mode" : "joystick",
  281. "path" : "/user/hand/right/input/joystick"
  282. }
  283. ]
  284. }
  285. },
  286. "controller_type" : "vive_cosmos_controller",
  287. "description" : "",
  288. "name" : "vive_cosmos_controller"
  289. }