2021년 4학년 1학기 기업연계프로젝트2 컴퓨터소프트웨어공학과 <원광투어팀> 팀장 : 송유진 팀원 : 김나영, 이경희, 한유진
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

513 lines
13 KiB

5 years ago
  1. {
  2. "controller_type": "vive_cosmos_controller",
  3. "description": "",
  4. "name": "vive_cosmos_controller",
  5. "bindings": {
  6. "/actions/buggy": {
  7. "chords": [],
  8. "sources": [
  9. {
  10. "path": "/user/hand/left/input/trigger",
  11. "mode": "trigger",
  12. "parameters": {},
  13. "inputs": {
  14. "pull": {
  15. "output": "/actions/buggy/in/throttle"
  16. }
  17. }
  18. },
  19. {
  20. "path": "/user/hand/right/input/trigger",
  21. "mode": "trigger",
  22. "parameters": {},
  23. "inputs": {
  24. "pull": {
  25. "output": "/actions/buggy/in/throttle"
  26. }
  27. }
  28. },
  29. {
  30. "path": "/user/hand/left/input/joystick",
  31. "mode": "joystick",
  32. "parameters": {},
  33. "inputs": {
  34. "position": {
  35. "output": "/actions/buggy/in/steering"
  36. }
  37. }
  38. },
  39. {
  40. "path": "/user/hand/right/input/joystick",
  41. "mode": "joystick",
  42. "parameters": {},
  43. "inputs": {
  44. "position": {
  45. "output": "/actions/buggy/in/steering"
  46. }
  47. }
  48. },
  49. {
  50. "path": "/user/hand/left/input/x",
  51. "mode": "button",
  52. "parameters": {},
  53. "inputs": {
  54. "click": {
  55. "output": "/actions/buggy/in/brake"
  56. }
  57. }
  58. },
  59. {
  60. "path": "/user/hand/left/input/y",
  61. "mode": "button",
  62. "parameters": {},
  63. "inputs": {
  64. "click": {
  65. "output": "/actions/buggy/in/reset"
  66. }
  67. }
  68. },
  69. {
  70. "path": "/user/hand/right/input/a",
  71. "mode": "button",
  72. "parameters": {},
  73. "inputs": {
  74. "click": {
  75. "output": "/actions/buggy/in/brake"
  76. }
  77. }
  78. },
  79. {
  80. "path": "/user/hand/right/input/b",
  81. "mode": "button",
  82. "parameters": {},
  83. "inputs": {
  84. "click": {
  85. "output": "/actions/buggy/in/reset"
  86. }
  87. }
  88. }
  89. ],
  90. "poses": [],
  91. "haptics": [],
  92. "skeleton": []
  93. },
  94. "/actions/default": {
  95. "chords": [],
  96. "sources": [
  97. {
  98. "path": "/user/hand/left/input/trigger",
  99. "mode": "button",
  100. "parameters": {},
  101. "inputs": {
  102. "click": {
  103. "output": "/actions/default/in/interactui"
  104. }
  105. }
  106. },
  107. {
  108. "path": "/user/hand/left/input/grip",
  109. "mode": "button",
  110. "parameters": {},
  111. "inputs": {
  112. "click": {
  113. "output": "/actions/default/in/grabgrip"
  114. }
  115. }
  116. },
  117. {
  118. "path": "/user/hand/left/input/trigger",
  119. "mode": "button",
  120. "parameters": {
  121. "click_activate_threshold": "0.8",
  122. "click_deactivate_threshold": "0.7",
  123. "force_input": "value"
  124. },
  125. "inputs": {
  126. "click": {
  127. "output": "/actions/default/in/grabpinch"
  128. }
  129. }
  130. },
  131. {
  132. "path": "/user/hand/right/input/trigger",
  133. "mode": "button",
  134. "parameters": {},
  135. "inputs": {
  136. "click": {
  137. "output": "/actions/default/in/interactui"
  138. }
  139. }
  140. },
  141. {
  142. "path": "/user/hand/right/input/trigger",
  143. "mode": "button",
  144. "parameters": {
  145. "click_activate_threshold": "0.8",
  146. "click_deactivate_threshold": "0.7"
  147. },
  148. "inputs": {
  149. "click": {
  150. "output": "/actions/default/in/grabpinch"
  151. }
  152. }
  153. },
  154. {
  155. "path": "/user/hand/left/input/joystick",
  156. "mode": "dpad",
  157. "parameters": {
  158. "deadzone_pct": "25",
  159. "overlap_pct": "30",
  160. "sub_mode": "touch"
  161. },
  162. "inputs": {
  163. "north": {
  164. "output": "/actions/default/in/teleport"
  165. }
  166. }
  167. },
  168. {
  169. "path": "/user/hand/right/input/joystick",
  170. "mode": "dpad",
  171. "parameters": {
  172. "deadzone_pct": "25",
  173. "overlap_pct": "30",
  174. "sub_mode": "touch"
  175. },
  176. "inputs": {
  177. "north": {
  178. "output": "/actions/default/in/teleport"
  179. }
  180. }
  181. },
  182. {
  183. "path": "/user/hand/left/input/joystick",
  184. "mode": "dpad",
  185. "parameters": {
  186. "deadzone_pct": "85",
  187. "overlap_pct": "0",
  188. "sub_mode": "touch"
  189. },
  190. "inputs": {
  191. "east": {
  192. "output": "/actions/default/in/snapturnright"
  193. },
  194. "west": {
  195. "output": "/actions/default/in/snapturnleft"
  196. }
  197. }
  198. },
  199. {
  200. "path": "/user/hand/right/input/joystick",
  201. "mode": "dpad",
  202. "parameters": {
  203. "deadzone_pct": "85",
  204. "overlap_pct": "0",
  205. "sub_mode": "touch"
  206. },
  207. "inputs": {
  208. "east": {
  209. "output": "/actions/default/in/snapturnright"
  210. },
  211. "west": {
  212. "output": "/actions/default/in/snapturnleft"
  213. }
  214. }
  215. },
  216. {
  217. "path": "/user/hand/right/input/grip",
  218. "mode": "button",
  219. "parameters": {},
  220. "inputs": {
  221. "click": {
  222. "output": "/actions/default/in/grabgrip"
  223. }
  224. }
  225. },
  226. {
  227. "path": "/user/hand/left/input/trigger",
  228. "mode": "trigger",
  229. "parameters": {},
  230. "inputs": {
  231. "pull": {
  232. "output": "/actions/default/in/squeeze"
  233. }
  234. }
  235. },
  236. {
  237. "path": "/user/hand/right/input/trigger",
  238. "mode": "trigger",
  239. "parameters": {},
  240. "inputs": {
  241. "pull": {
  242. "output": "/actions/default/in/squeeze"
  243. }
  244. }
  245. }
  246. ],
  247. "poses": [
  248. {
  249. "output": "/actions/default/in/pose",
  250. "path": "/user/hand/left/pose/raw"
  251. },
  252. {
  253. "output": "/actions/default/in/pose",
  254. "path": "/user/hand/right/pose/raw"
  255. }
  256. ],
  257. "haptics": [
  258. {
  259. "output": "/actions/default/out/haptic",
  260. "path": "/user/hand/left/output/haptic"
  261. },
  262. {
  263. "output": "/actions/default/out/haptic",
  264. "path": "/user/hand/right/output/haptic"
  265. }
  266. ],
  267. "skeleton": [
  268. {
  269. "output": "/actions/default/in/skeletonlefthand",
  270. "path": "/user/hand/left/input/skeleton/left"
  271. },
  272. {
  273. "output": "/actions/default/in/skeletonrighthand",
  274. "path": "/user/hand/right/input/skeleton/right"
  275. }
  276. ]
  277. },
  278. "/actions/platformer": {
  279. "chords": [],
  280. "sources": [
  281. {
  282. "path": "/user/hand/left/input/joystick",
  283. "mode": "joystick",
  284. "parameters": {},
  285. "inputs": {
  286. "click": {
  287. "output": "/actions/platformer/in/jump"
  288. },
  289. "position": {
  290. "output": "/actions/platformer/in/move"
  291. }
  292. }
  293. },
  294. {
  295. "path": "/user/hand/right/input/joystick",
  296. "mode": "joystick",
  297. "parameters": {},
  298. "inputs": {
  299. "click": {
  300. "output": "/actions/platformer/in/jump"
  301. },
  302. "position": {
  303. "output": "/actions/platformer/in/move"
  304. }
  305. }
  306. }
  307. ],
  308. "poses": [],
  309. "haptics": [],
  310. "skeleton": []
  311. },
  312. "/actions/htc_viu": {
  313. "chords": [],
  314. "sources": [
  315. {
  316. "path": "/user/hand/left/input/trigger",
  317. "mode": "trigger",
  318. "parameters": {},
  319. "inputs": {
  320. "click": {
  321. "output": "/actions/htc_viu/in/viu_press_33"
  322. },
  323. "pull": {
  324. "output": "/actions/htc_viu/in/viu_axis_1x"
  325. },
  326. "touch": {
  327. "output": "/actions/htc_viu/in/viu_touch_33"
  328. }
  329. }
  330. },
  331. {
  332. "path": "/user/hand/left/input/joystick",
  333. "mode": "joystick",
  334. "parameters": {},
  335. "inputs": {
  336. "click": {
  337. "output": "/actions/htc_viu/in/viu_press_32"
  338. },
  339. "position": {
  340. "output": "/actions/htc_viu/in/viu_axis_0xy"
  341. },
  342. "touch": {
  343. "output": "/actions/htc_viu/in/viu_touch_32"
  344. }
  345. }
  346. },
  347. {
  348. "path": "/user/hand/left/input/grip",
  349. "mode": "button",
  350. "parameters": {},
  351. "inputs": {
  352. "click": {
  353. "output": "/actions/htc_viu/in/viu_press_02"
  354. }
  355. }
  356. },
  357. {
  358. "path": "/user/hand/left/input/x",
  359. "mode": "button",
  360. "parameters": {},
  361. "inputs": {
  362. "click": {
  363. "output": "/actions/htc_viu/in/viu_press_07"
  364. }
  365. }
  366. },
  367. {
  368. "path": "/user/hand/left/input/y",
  369. "mode": "button",
  370. "parameters": {},
  371. "inputs": {
  372. "click": {
  373. "output": "/actions/htc_viu/in/viu_press_01"
  374. }
  375. }
  376. },
  377. {
  378. "path": "/user/hand/left/input/bumper",
  379. "mode": "button",
  380. "parameters": {},
  381. "inputs": {
  382. "click": {
  383. "output": "/actions/htc_viu/in/viu_press_35"
  384. }
  385. }
  386. },
  387. {
  388. "path": "/user/hand/left/input/joystick_cap/raw_value",
  389. "mode": "trigger",
  390. "parameters": {},
  391. "inputs": {
  392. "pull": {
  393. "output": "/actions/htc_viu/in/viu_axis_4x"
  394. }
  395. }
  396. },
  397. {
  398. "path": "/user/hand/left/input/trigger_cap/raw_value",
  399. "mode": "trigger",
  400. "parameters": {},
  401. "inputs": {
  402. "pull": {
  403. "output": "/actions/htc_viu/in/viu_axis_4y"
  404. }
  405. }
  406. },
  407. {
  408. "path": "/user/hand/right/input/trigger",
  409. "mode": "trigger",
  410. "parameters": {},
  411. "inputs": {
  412. "click": {
  413. "output": "/actions/htc_viu/in/viu_press_33"
  414. },
  415. "pull": {
  416. "output": "/actions/htc_viu/in/viu_axis_1x"
  417. },
  418. "touch": {
  419. "output": "/actions/htc_viu/in/viu_touch_33"
  420. }
  421. }
  422. },
  423. {
  424. "path": "/user/hand/right/input/joystick",
  425. "mode": "joystick",
  426. "parameters": {},
  427. "inputs": {
  428. "click": {
  429. "output": "/actions/htc_viu/in/viu_press_32"
  430. },
  431. "position": {
  432. "output": "/actions/htc_viu/in/viu_axis_0xy"
  433. },
  434. "touch": {
  435. "output": "/actions/htc_viu/in/viu_touch_32"
  436. }
  437. }
  438. },
  439. {
  440. "path": "/user/hand/right/input/grip",
  441. "mode": "button",
  442. "parameters": {},
  443. "inputs": {
  444. "click": {
  445. "output": "/actions/htc_viu/in/viu_press_02"
  446. }
  447. }
  448. },
  449. {
  450. "path": "/user/hand/right/input/a",
  451. "mode": "button",
  452. "parameters": {},
  453. "inputs": {
  454. "click": {
  455. "output": "/actions/htc_viu/in/viu_press_07"
  456. }
  457. }
  458. },
  459. {
  460. "path": "/user/hand/right/input/b",
  461. "mode": "button",
  462. "parameters": {},
  463. "inputs": {
  464. "click": {
  465. "output": "/actions/htc_viu/in/viu_press_01"
  466. }
  467. }
  468. },
  469. {
  470. "path": "/user/hand/right/input/bumper",
  471. "mode": "button",
  472. "parameters": {},
  473. "inputs": {
  474. "click": {
  475. "output": "/actions/htc_viu/in/viu_press_35"
  476. }
  477. }
  478. },
  479. {
  480. "path": "/user/hand/right/input/joystick_cap/raw_value",
  481. "mode": "trigger",
  482. "parameters": {},
  483. "inputs": {
  484. "pull": {
  485. "output": "/actions/htc_viu/in/viu_axis_4x"
  486. }
  487. }
  488. },
  489. {
  490. "path": "/user/hand/right/input/trigger_cap/raw_value",
  491. "mode": "trigger",
  492. "parameters": {},
  493. "inputs": {
  494. "pull": {
  495. "output": "/actions/htc_viu/in/viu_axis_4y"
  496. }
  497. }
  498. }
  499. ],
  500. "poses": [],
  501. "haptics": [
  502. {
  503. "output": "/actions/htc_viu/out/viu_vib_01",
  504. "path": "/user/hand/left/output/haptic"
  505. },
  506. {
  507. "output": "/actions/htc_viu/out/viu_vib_01",
  508. "path": "/user/hand/right/output/haptic"
  509. }
  510. ],
  511. "skeleton": []
  512. }
  513. }
  514. }