bindings_vive_controller.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  1. {
  2. "app_key": "application.generated.unity.vrcycling.exe",
  3. "bindings": {
  4. "/actions/bikevr": {
  5. "chords": [],
  6. "poses": [
  7. {
  8. "output": "/actions/bikevr/in/steer",
  9. "path": "/user/hand/left/pose/front"
  10. },
  11. {
  12. "output": "/actions/bikevr/in/steer",
  13. "path": "/user/hand/right/pose/front"
  14. }
  15. ],
  16. "haptics": [],
  17. "sources": [
  18. {
  19. "path": "/user/hand/left/input/trigger",
  20. "mode": "trigger",
  21. "parameters": {},
  22. "inputs": {
  23. "click": {
  24. "output": "/actions/bikevr/in/resetposition"
  25. }
  26. }
  27. },
  28. {
  29. "path": "/user/hand/right/input/trigger",
  30. "mode": "trigger",
  31. "parameters": {},
  32. "inputs": {
  33. "click": {
  34. "output": "/actions/bikevr/in/resetposition"
  35. }
  36. }
  37. },
  38. {
  39. "path": "/user/hand/left/input/trackpad",
  40. "mode": "dpad",
  41. "parameters": {
  42. "deadzone_pct": "5",
  43. "overlap_pct": "5",
  44. "sub_mode": "click"
  45. },
  46. "inputs": {
  47. "east": {
  48. "output": "/actions/bikevr/in/moveplayerright"
  49. },
  50. "north": {
  51. "output": "/actions/bikevr/in/moveplayerforward"
  52. },
  53. "south": {
  54. "output": "/actions/bikevr/in/moveplayerbackward"
  55. },
  56. "west": {
  57. "output": "/actions/bikevr/in/moveplayerleft"
  58. }
  59. }
  60. },
  61. {
  62. "path": "/user/hand/right/input/trackpad",
  63. "mode": "dpad",
  64. "parameters": {
  65. "deadzone_pct": "5",
  66. "overlap_pct": "5",
  67. "sub_mode": "click"
  68. },
  69. "inputs": {
  70. "east": {
  71. "output": "/actions/bikevr/in/moveplayerright"
  72. },
  73. "north": {
  74. "output": "/actions/bikevr/in/moveplayerforward"
  75. },
  76. "south": {
  77. "output": "/actions/bikevr/in/moveplayerbackward"
  78. },
  79. "west": {
  80. "output": "/actions/bikevr/in/moveplayerleft"
  81. }
  82. }
  83. },
  84. {
  85. "path": "/user/hand/left/input/application_menu",
  86. "mode": "button",
  87. "parameters": {},
  88. "inputs": {
  89. "click": {
  90. "output": "/actions/bikevr/in/moveplayermodeswitch"
  91. }
  92. }
  93. },
  94. {
  95. "path": "/user/hand/right/input/application_menu",
  96. "mode": "button",
  97. "parameters": {},
  98. "inputs": {
  99. "click": {
  100. "output": "/actions/bikevr/in/moveplayermodeswitch"
  101. }
  102. }
  103. },
  104. {
  105. "path": "/user/hand/left/input/grip",
  106. "mode": "toggle_button",
  107. "parameters": {},
  108. "inputs": {
  109. "click": {
  110. "output": "/actions/bikevr/in/resetbikeposition"
  111. }
  112. }
  113. },
  114. {
  115. "path": "/user/hand/right/input/grip",
  116. "mode": "toggle_button",
  117. "parameters": {},
  118. "inputs": {
  119. "click": {
  120. "output": "/actions/bikevr/in/resetbikeposition"
  121. }
  122. }
  123. }
  124. ],
  125. "skeleton": []
  126. },
  127. "/actions/buggy": {
  128. "chords": [],
  129. "poses": [],
  130. "haptics": [],
  131. "sources": [
  132. {
  133. "path": "/user/hand/left/input/trigger",
  134. "mode": "trigger",
  135. "parameters": {},
  136. "inputs": {
  137. "pull": {
  138. "output": "/actions/buggy/in/throttle"
  139. }
  140. }
  141. },
  142. {
  143. "path": "/user/hand/right/input/trigger",
  144. "mode": "trigger",
  145. "parameters": {},
  146. "inputs": {
  147. "pull": {
  148. "output": "/actions/buggy/in/throttle"
  149. }
  150. }
  151. },
  152. {
  153. "path": "/user/hand/left/input/trackpad",
  154. "mode": "trackpad",
  155. "parameters": {},
  156. "inputs": {
  157. "click": {
  158. "output": "/actions/buggy/in/brake"
  159. },
  160. "position": {
  161. "output": "/actions/buggy/in/steering"
  162. }
  163. }
  164. },
  165. {
  166. "path": "/user/hand/right/input/trackpad",
  167. "mode": "trackpad",
  168. "parameters": {},
  169. "inputs": {
  170. "click": {
  171. "output": "/actions/buggy/in/brake"
  172. },
  173. "position": {
  174. "output": "/actions/buggy/in/steering"
  175. }
  176. }
  177. },
  178. {
  179. "path": "/user/hand/left/input/application_menu",
  180. "mode": "button",
  181. "parameters": {},
  182. "inputs": {
  183. "click": {
  184. "output": "/actions/buggy/in/reset"
  185. }
  186. }
  187. },
  188. {
  189. "path": "/user/hand/right/input/application_menu",
  190. "mode": "button",
  191. "parameters": {},
  192. "inputs": {
  193. "click": {
  194. "output": "/actions/buggy/in/reset"
  195. }
  196. }
  197. }
  198. ],
  199. "skeleton": []
  200. },
  201. "/actions/default": {
  202. "chords": [],
  203. "poses": [
  204. {
  205. "output": "/actions/default/in/pose",
  206. "path": "/user/hand/left/pose/raw"
  207. },
  208. {
  209. "output": "/actions/default/in/pose",
  210. "path": "/user/hand/right/pose/raw"
  211. }
  212. ],
  213. "haptics": [
  214. {
  215. "output": "/actions/default/out/haptic",
  216. "path": "/user/hand/left/output/haptic"
  217. },
  218. {
  219. "output": "/actions/default/out/haptic",
  220. "path": "/user/hand/right/output/haptic"
  221. }
  222. ],
  223. "sources": [
  224. {
  225. "path": "/user/hand/left/input/trigger",
  226. "mode": "button",
  227. "parameters": {},
  228. "inputs": {
  229. "click": {
  230. "output": "/actions/default/in/interactui"
  231. }
  232. }
  233. },
  234. {
  235. "path": "/user/hand/left/input/grip",
  236. "mode": "button",
  237. "parameters": {
  238. "click_activate_threshold": "0.05",
  239. "click_deactivate_threshold": "0",
  240. "force_input": "force"
  241. },
  242. "inputs": {
  243. "click": {
  244. "output": "/actions/default/in/grabgrip"
  245. }
  246. }
  247. },
  248. {
  249. "path": "/user/hand/left/input/trigger",
  250. "mode": "button",
  251. "parameters": {
  252. "click_activate_threshold": "0.75",
  253. "click_deactivate_threshold": "0.7",
  254. "force_input": "value"
  255. },
  256. "inputs": {
  257. "click": {
  258. "output": "/actions/default/in/grabpinch"
  259. }
  260. }
  261. },
  262. {
  263. "path": "/user/hand/right/input/trigger",
  264. "mode": "button",
  265. "parameters": {},
  266. "inputs": {
  267. "click": {
  268. "output": "/actions/default/in/interactui"
  269. }
  270. }
  271. },
  272. {
  273. "path": "/user/hand/right/input/trigger",
  274. "mode": "button",
  275. "parameters": {
  276. "click_activate_threshold": "0.75",
  277. "click_deactivate_threshold": "0.7"
  278. },
  279. "inputs": {
  280. "click": {
  281. "output": "/actions/default/in/grabpinch"
  282. }
  283. }
  284. },
  285. {
  286. "path": "/user/hand/left/input/trackpad",
  287. "mode": "dpad",
  288. "parameters": {
  289. "deadzone_pct": "90",
  290. "overlap_pct": "15",
  291. "sub_mode": "click"
  292. },
  293. "inputs": {
  294. "center": {
  295. "output": "/actions/default/in/teleport"
  296. },
  297. "east": {
  298. "output": "/actions/default/in/snapturnright"
  299. },
  300. "north": {
  301. "output": "/actions/default/in/teleport"
  302. },
  303. "south": {
  304. "output": "/actions/default/in/teleport"
  305. },
  306. "west": {
  307. "output": "/actions/default/in/snapturnleft"
  308. }
  309. }
  310. },
  311. {
  312. "path": "/user/hand/right/input/trackpad",
  313. "mode": "dpad",
  314. "parameters": {
  315. "deadzone_pct": "90",
  316. "overlap_pct": "15",
  317. "sub_mode": "click"
  318. },
  319. "inputs": {
  320. "center": {
  321. "output": "/actions/default/in/teleport"
  322. },
  323. "east": {
  324. "output": "/actions/default/in/snapturnright"
  325. },
  326. "north": {
  327. "output": "/actions/default/in/teleport"
  328. },
  329. "south": {
  330. "output": "/actions/default/in/teleport"
  331. },
  332. "west": {
  333. "output": "/actions/default/in/snapturnleft"
  334. }
  335. }
  336. },
  337. {
  338. "path": "/user/hand/right/input/grip",
  339. "mode": "button",
  340. "parameters": {
  341. "click_activate_threshold": "0.05",
  342. "click_deactivate_threshold": "0",
  343. "force_input": "force"
  344. },
  345. "inputs": {
  346. "click": {
  347. "output": "/actions/default/in/grabgrip"
  348. }
  349. }
  350. },
  351. {
  352. "path": "/user/hand/left/input/trigger",
  353. "mode": "trigger",
  354. "parameters": {},
  355. "inputs": {
  356. "pull": {
  357. "output": "/actions/default/in/squeeze"
  358. }
  359. }
  360. },
  361. {
  362. "path": "/user/hand/right/input/trigger",
  363. "mode": "trigger",
  364. "parameters": {},
  365. "inputs": {
  366. "pull": {
  367. "output": "/actions/default/in/squeeze"
  368. }
  369. }
  370. }
  371. ],
  372. "skeleton": [
  373. {
  374. "output": "/actions/default/in/skeletonlefthand",
  375. "path": "/user/hand/left/input/skeleton/left"
  376. },
  377. {
  378. "output": "/actions/default/in/skeletonrighthand",
  379. "path": "/user/hand/right/input/skeleton/right"
  380. }
  381. ]
  382. },
  383. "/actions/platformer": {
  384. "chords": [],
  385. "poses": [],
  386. "haptics": [],
  387. "sources": [
  388. {
  389. "path": "/user/hand/left/input/trackpad",
  390. "mode": "button",
  391. "parameters": {},
  392. "inputs": {
  393. "click": {
  394. "output": "/actions/platformer/in/jump"
  395. }
  396. }
  397. },
  398. {
  399. "path": "/user/hand/right/input/trackpad",
  400. "mode": "button",
  401. "parameters": {},
  402. "inputs": {
  403. "click": {
  404. "output": "/actions/platformer/in/jump"
  405. }
  406. }
  407. },
  408. {
  409. "path": "/user/hand/left/input/trackpad",
  410. "mode": "trackpad",
  411. "parameters": {},
  412. "inputs": {
  413. "position": {
  414. "output": "/actions/platformer/in/move"
  415. }
  416. }
  417. },
  418. {
  419. "path": "/user/hand/right/input/trackpad",
  420. "mode": "trackpad",
  421. "parameters": {},
  422. "inputs": {
  423. "position": {
  424. "output": "/actions/platformer/in/move"
  425. }
  426. }
  427. }
  428. ],
  429. "skeleton": []
  430. }
  431. },
  432. "controller_type": "vive_controller",
  433. "description": "",
  434. "name": "vive_controller"
  435. }