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.

469 lines
12 KiB

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