1
0

profile.json 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. {
  2. "profileId": "generic-trigger-squeeze-touchpad-thumbstick",
  3. "fallbackProfileIds": [],
  4. "layouts": {
  5. "left": {
  6. "selectComponentId": "xr-standard-trigger",
  7. "components": {
  8. "xr-standard-trigger": {
  9. "type": "trigger",
  10. "gamepadIndices": {
  11. "button": 0
  12. },
  13. "rootNodeName": "xr_standard_trigger",
  14. "visualResponses": {
  15. "xr_standard_trigger_pressed": {
  16. "componentProperty": "button",
  17. "states": [
  18. "default",
  19. "touched",
  20. "pressed"
  21. ],
  22. "valueNodeProperty": "transform",
  23. "valueNodeName": "xr_standard_trigger_pressed_value",
  24. "minNodeName": "xr_standard_trigger_pressed_min",
  25. "maxNodeName": "xr_standard_trigger_pressed_max"
  26. }
  27. }
  28. },
  29. "xr-standard-squeeze": {
  30. "type": "squeeze",
  31. "gamepadIndices": {
  32. "button": 1
  33. },
  34. "rootNodeName": "xr_standard_squeeze",
  35. "visualResponses": {
  36. "xr_standard_squeeze_pressed": {
  37. "componentProperty": "button",
  38. "states": [
  39. "default",
  40. "touched",
  41. "pressed"
  42. ],
  43. "valueNodeProperty": "transform",
  44. "valueNodeName": "xr_standard_squeeze_pressed_value",
  45. "minNodeName": "xr_standard_squeeze_pressed_min",
  46. "maxNodeName": "xr_standard_squeeze_pressed_max"
  47. }
  48. }
  49. },
  50. "xr-standard-touchpad": {
  51. "type": "touchpad",
  52. "gamepadIndices": {
  53. "button": 2,
  54. "xAxis": 0,
  55. "yAxis": 1
  56. },
  57. "rootNodeName": "xr_standard_touchpad",
  58. "visualResponses": {
  59. "xr_standard_touchpad_pressed": {
  60. "componentProperty": "button",
  61. "states": [
  62. "default",
  63. "touched",
  64. "pressed"
  65. ],
  66. "valueNodeProperty": "transform",
  67. "valueNodeName": "xr_standard_touchpad_pressed_value",
  68. "minNodeName": "xr_standard_touchpad_pressed_min",
  69. "maxNodeName": "xr_standard_touchpad_pressed_max"
  70. },
  71. "xr_standard_touchpad_xaxis_pressed": {
  72. "componentProperty": "xAxis",
  73. "states": [
  74. "default",
  75. "touched",
  76. "pressed"
  77. ],
  78. "valueNodeProperty": "transform",
  79. "valueNodeName": "xr_standard_touchpad_xaxis_pressed_value",
  80. "minNodeName": "xr_standard_touchpad_xaxis_pressed_min",
  81. "maxNodeName": "xr_standard_touchpad_xaxis_pressed_max"
  82. },
  83. "xr_standard_touchpad_yaxis_pressed": {
  84. "componentProperty": "yAxis",
  85. "states": [
  86. "default",
  87. "touched",
  88. "pressed"
  89. ],
  90. "valueNodeProperty": "transform",
  91. "valueNodeName": "xr_standard_touchpad_yaxis_pressed_value",
  92. "minNodeName": "xr_standard_touchpad_yaxis_pressed_min",
  93. "maxNodeName": "xr_standard_touchpad_yaxis_pressed_max"
  94. },
  95. "xr_standard_touchpad_xaxis_touched": {
  96. "componentProperty": "xAxis",
  97. "states": [
  98. "default",
  99. "touched",
  100. "pressed"
  101. ],
  102. "valueNodeProperty": "transform",
  103. "valueNodeName": "xr_standard_touchpad_xaxis_touched_value",
  104. "minNodeName": "xr_standard_touchpad_xaxis_touched_min",
  105. "maxNodeName": "xr_standard_touchpad_xaxis_touched_max"
  106. },
  107. "xr_standard_touchpad_yaxis_touched": {
  108. "componentProperty": "yAxis",
  109. "states": [
  110. "default",
  111. "touched",
  112. "pressed"
  113. ],
  114. "valueNodeProperty": "transform",
  115. "valueNodeName": "xr_standard_touchpad_yaxis_touched_value",
  116. "minNodeName": "xr_standard_touchpad_yaxis_touched_min",
  117. "maxNodeName": "xr_standard_touchpad_yaxis_touched_max"
  118. },
  119. "xr_standard_touchpad_axes_touched": {
  120. "componentProperty": "state",
  121. "states": [
  122. "touched",
  123. "pressed"
  124. ],
  125. "valueNodeProperty": "visibility",
  126. "valueNodeName": "xr_standard_touchpad_axes_touched_value"
  127. }
  128. },
  129. "touchPointNodeName": "xr_standard_touchpad_axes_touched_value"
  130. },
  131. "xr-standard-thumbstick": {
  132. "type": "thumbstick",
  133. "gamepadIndices": {
  134. "button": 3,
  135. "xAxis": 2,
  136. "yAxis": 3
  137. },
  138. "rootNodeName": "xr_standard_thumbstick",
  139. "visualResponses": {
  140. "xr_standard_thumbstick_pressed": {
  141. "componentProperty": "button",
  142. "states": [
  143. "default",
  144. "touched",
  145. "pressed"
  146. ],
  147. "valueNodeProperty": "transform",
  148. "valueNodeName": "xr_standard_thumbstick_pressed_value",
  149. "minNodeName": "xr_standard_thumbstick_pressed_min",
  150. "maxNodeName": "xr_standard_thumbstick_pressed_max"
  151. },
  152. "xr_standard_thumbstick_xaxis_pressed": {
  153. "componentProperty": "xAxis",
  154. "states": [
  155. "default",
  156. "touched",
  157. "pressed"
  158. ],
  159. "valueNodeProperty": "transform",
  160. "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
  161. "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
  162. "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
  163. },
  164. "xr_standard_thumbstick_yaxis_pressed": {
  165. "componentProperty": "yAxis",
  166. "states": [
  167. "default",
  168. "touched",
  169. "pressed"
  170. ],
  171. "valueNodeProperty": "transform",
  172. "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
  173. "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
  174. "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
  175. }
  176. }
  177. }
  178. },
  179. "gamepadMapping": "xr-standard",
  180. "rootNodeName": "generic-trigger-squeeze-touchpad-thumbstick-left",
  181. "assetPath": "left.glb"
  182. },
  183. "right": {
  184. "selectComponentId": "xr-standard-trigger",
  185. "components": {
  186. "xr-standard-trigger": {
  187. "type": "trigger",
  188. "gamepadIndices": {
  189. "button": 0
  190. },
  191. "rootNodeName": "xr_standard_trigger",
  192. "visualResponses": {
  193. "xr_standard_trigger_pressed": {
  194. "componentProperty": "button",
  195. "states": [
  196. "default",
  197. "touched",
  198. "pressed"
  199. ],
  200. "valueNodeProperty": "transform",
  201. "valueNodeName": "xr_standard_trigger_pressed_value",
  202. "minNodeName": "xr_standard_trigger_pressed_min",
  203. "maxNodeName": "xr_standard_trigger_pressed_max"
  204. }
  205. }
  206. },
  207. "xr-standard-squeeze": {
  208. "type": "squeeze",
  209. "gamepadIndices": {
  210. "button": 1
  211. },
  212. "rootNodeName": "xr_standard_squeeze",
  213. "visualResponses": {
  214. "xr_standard_squeeze_pressed": {
  215. "componentProperty": "button",
  216. "states": [
  217. "default",
  218. "touched",
  219. "pressed"
  220. ],
  221. "valueNodeProperty": "transform",
  222. "valueNodeName": "xr_standard_squeeze_pressed_value",
  223. "minNodeName": "xr_standard_squeeze_pressed_min",
  224. "maxNodeName": "xr_standard_squeeze_pressed_max"
  225. }
  226. }
  227. },
  228. "xr-standard-touchpad": {
  229. "type": "touchpad",
  230. "gamepadIndices": {
  231. "button": 2,
  232. "xAxis": 0,
  233. "yAxis": 1
  234. },
  235. "rootNodeName": "xr_standard_touchpad",
  236. "visualResponses": {
  237. "xr_standard_touchpad_pressed": {
  238. "componentProperty": "button",
  239. "states": [
  240. "default",
  241. "touched",
  242. "pressed"
  243. ],
  244. "valueNodeProperty": "transform",
  245. "valueNodeName": "xr_standard_touchpad_pressed_value",
  246. "minNodeName": "xr_standard_touchpad_pressed_min",
  247. "maxNodeName": "xr_standard_touchpad_pressed_max"
  248. },
  249. "xr_standard_touchpad_xaxis_pressed": {
  250. "componentProperty": "xAxis",
  251. "states": [
  252. "default",
  253. "touched",
  254. "pressed"
  255. ],
  256. "valueNodeProperty": "transform",
  257. "valueNodeName": "xr_standard_touchpad_xaxis_pressed_value",
  258. "minNodeName": "xr_standard_touchpad_xaxis_pressed_min",
  259. "maxNodeName": "xr_standard_touchpad_xaxis_pressed_max"
  260. },
  261. "xr_standard_touchpad_yaxis_pressed": {
  262. "componentProperty": "yAxis",
  263. "states": [
  264. "default",
  265. "touched",
  266. "pressed"
  267. ],
  268. "valueNodeProperty": "transform",
  269. "valueNodeName": "xr_standard_touchpad_yaxis_pressed_value",
  270. "minNodeName": "xr_standard_touchpad_yaxis_pressed_min",
  271. "maxNodeName": "xr_standard_touchpad_yaxis_pressed_max"
  272. },
  273. "xr_standard_touchpad_xaxis_touched": {
  274. "componentProperty": "xAxis",
  275. "states": [
  276. "default",
  277. "touched",
  278. "pressed"
  279. ],
  280. "valueNodeProperty": "transform",
  281. "valueNodeName": "xr_standard_touchpad_xaxis_touched_value",
  282. "minNodeName": "xr_standard_touchpad_xaxis_touched_min",
  283. "maxNodeName": "xr_standard_touchpad_xaxis_touched_max"
  284. },
  285. "xr_standard_touchpad_yaxis_touched": {
  286. "componentProperty": "yAxis",
  287. "states": [
  288. "default",
  289. "touched",
  290. "pressed"
  291. ],
  292. "valueNodeProperty": "transform",
  293. "valueNodeName": "xr_standard_touchpad_yaxis_touched_value",
  294. "minNodeName": "xr_standard_touchpad_yaxis_touched_min",
  295. "maxNodeName": "xr_standard_touchpad_yaxis_touched_max"
  296. },
  297. "xr_standard_touchpad_axes_touched": {
  298. "componentProperty": "state",
  299. "states": [
  300. "touched",
  301. "pressed"
  302. ],
  303. "valueNodeProperty": "visibility",
  304. "valueNodeName": "xr_standard_touchpad_axes_touched_value"
  305. }
  306. },
  307. "touchPointNodeName": "xr_standard_touchpad_axes_touched_value"
  308. },
  309. "xr-standard-thumbstick": {
  310. "type": "thumbstick",
  311. "gamepadIndices": {
  312. "button": 3,
  313. "xAxis": 2,
  314. "yAxis": 3
  315. },
  316. "rootNodeName": "xr_standard_thumbstick",
  317. "visualResponses": {
  318. "xr_standard_thumbstick_pressed": {
  319. "componentProperty": "button",
  320. "states": [
  321. "default",
  322. "touched",
  323. "pressed"
  324. ],
  325. "valueNodeProperty": "transform",
  326. "valueNodeName": "xr_standard_thumbstick_pressed_value",
  327. "minNodeName": "xr_standard_thumbstick_pressed_min",
  328. "maxNodeName": "xr_standard_thumbstick_pressed_max"
  329. },
  330. "xr_standard_thumbstick_xaxis_pressed": {
  331. "componentProperty": "xAxis",
  332. "states": [
  333. "default",
  334. "touched",
  335. "pressed"
  336. ],
  337. "valueNodeProperty": "transform",
  338. "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
  339. "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
  340. "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
  341. },
  342. "xr_standard_thumbstick_yaxis_pressed": {
  343. "componentProperty": "yAxis",
  344. "states": [
  345. "default",
  346. "touched",
  347. "pressed"
  348. ],
  349. "valueNodeProperty": "transform",
  350. "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
  351. "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
  352. "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
  353. }
  354. }
  355. }
  356. },
  357. "gamepadMapping": "xr-standard",
  358. "rootNodeName": "generic-trigger-squeeze-touchpad-thumbstick-right",
  359. "assetPath": "right.glb"
  360. },
  361. "none": {
  362. "selectComponentId": "xr-standard-trigger",
  363. "components": {
  364. "xr-standard-trigger": {
  365. "type": "trigger",
  366. "gamepadIndices": {
  367. "button": 0
  368. },
  369. "rootNodeName": "xr_standard_trigger",
  370. "visualResponses": {
  371. "xr_standard_trigger_pressed": {
  372. "componentProperty": "button",
  373. "states": [
  374. "default",
  375. "touched",
  376. "pressed"
  377. ],
  378. "valueNodeProperty": "transform",
  379. "valueNodeName": "xr_standard_trigger_pressed_value",
  380. "minNodeName": "xr_standard_trigger_pressed_min",
  381. "maxNodeName": "xr_standard_trigger_pressed_max"
  382. }
  383. }
  384. },
  385. "xr-standard-squeeze": {
  386. "type": "squeeze",
  387. "gamepadIndices": {
  388. "button": 1
  389. },
  390. "rootNodeName": "xr_standard_squeeze",
  391. "visualResponses": {
  392. "xr_standard_squeeze_pressed": {
  393. "componentProperty": "button",
  394. "states": [
  395. "default",
  396. "touched",
  397. "pressed"
  398. ],
  399. "valueNodeProperty": "transform",
  400. "valueNodeName": "xr_standard_squeeze_pressed_value",
  401. "minNodeName": "xr_standard_squeeze_pressed_min",
  402. "maxNodeName": "xr_standard_squeeze_pressed_max"
  403. },
  404. "xr_standard_squeeze_pressed_mirror": {
  405. "componentProperty": "button",
  406. "states": [
  407. "default",
  408. "touched",
  409. "pressed"
  410. ],
  411. "valueNodeProperty": "transform",
  412. "valueNodeName": "xr_standard_squeeze_pressed_mirror_value",
  413. "minNodeName": "xr_standard_squeeze_pressed_mirror_min",
  414. "maxNodeName": "xr_standard_squeeze_pressed_mirror_max"
  415. }
  416. }
  417. },
  418. "xr-standard-touchpad": {
  419. "type": "touchpad",
  420. "gamepadIndices": {
  421. "button": 2,
  422. "xAxis": 0,
  423. "yAxis": 1
  424. },
  425. "rootNodeName": "xr_standard_touchpad",
  426. "visualResponses": {
  427. "xr_standard_touchpad_pressed": {
  428. "componentProperty": "button",
  429. "states": [
  430. "default",
  431. "touched",
  432. "pressed"
  433. ],
  434. "valueNodeProperty": "transform",
  435. "valueNodeName": "xr_standard_touchpad_pressed_value",
  436. "minNodeName": "xr_standard_touchpad_pressed_min",
  437. "maxNodeName": "xr_standard_touchpad_pressed_max"
  438. },
  439. "xr_standard_touchpad_xaxis_pressed": {
  440. "componentProperty": "xAxis",
  441. "states": [
  442. "default",
  443. "touched",
  444. "pressed"
  445. ],
  446. "valueNodeProperty": "transform",
  447. "valueNodeName": "xr_standard_touchpad_xaxis_pressed_value",
  448. "minNodeName": "xr_standard_touchpad_xaxis_pressed_min",
  449. "maxNodeName": "xr_standard_touchpad_xaxis_pressed_max"
  450. },
  451. "xr_standard_touchpad_yaxis_pressed": {
  452. "componentProperty": "yAxis",
  453. "states": [
  454. "default",
  455. "touched",
  456. "pressed"
  457. ],
  458. "valueNodeProperty": "transform",
  459. "valueNodeName": "xr_standard_touchpad_yaxis_pressed_value",
  460. "minNodeName": "xr_standard_touchpad_yaxis_pressed_min",
  461. "maxNodeName": "xr_standard_touchpad_yaxis_pressed_max"
  462. },
  463. "xr_standard_touchpad_xaxis_touched": {
  464. "componentProperty": "xAxis",
  465. "states": [
  466. "default",
  467. "touched",
  468. "pressed"
  469. ],
  470. "valueNodeProperty": "transform",
  471. "valueNodeName": "xr_standard_touchpad_xaxis_touched_value",
  472. "minNodeName": "xr_standard_touchpad_xaxis_touched_min",
  473. "maxNodeName": "xr_standard_touchpad_xaxis_touched_max"
  474. },
  475. "xr_standard_touchpad_yaxis_touched": {
  476. "componentProperty": "yAxis",
  477. "states": [
  478. "default",
  479. "touched",
  480. "pressed"
  481. ],
  482. "valueNodeProperty": "transform",
  483. "valueNodeName": "xr_standard_touchpad_yaxis_touched_value",
  484. "minNodeName": "xr_standard_touchpad_yaxis_touched_min",
  485. "maxNodeName": "xr_standard_touchpad_yaxis_touched_max"
  486. },
  487. "xr_standard_touchpad_axes_touched": {
  488. "componentProperty": "state",
  489. "states": [
  490. "touched",
  491. "pressed"
  492. ],
  493. "valueNodeProperty": "visibility",
  494. "valueNodeName": "xr_standard_touchpad_axes_touched_value"
  495. }
  496. },
  497. "touchPointNodeName": "xr_standard_touchpad_axes_touched_value"
  498. },
  499. "xr-standard-thumbstick": {
  500. "type": "thumbstick",
  501. "gamepadIndices": {
  502. "button": 3,
  503. "xAxis": 2,
  504. "yAxis": 3
  505. },
  506. "rootNodeName": "xr_standard_thumbstick",
  507. "visualResponses": {
  508. "xr_standard_thumbstick_pressed": {
  509. "componentProperty": "button",
  510. "states": [
  511. "default",
  512. "touched",
  513. "pressed"
  514. ],
  515. "valueNodeProperty": "transform",
  516. "valueNodeName": "xr_standard_thumbstick_pressed_value",
  517. "minNodeName": "xr_standard_thumbstick_pressed_min",
  518. "maxNodeName": "xr_standard_thumbstick_pressed_max"
  519. },
  520. "xr_standard_thumbstick_xaxis_pressed": {
  521. "componentProperty": "xAxis",
  522. "states": [
  523. "default",
  524. "touched",
  525. "pressed"
  526. ],
  527. "valueNodeProperty": "transform",
  528. "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
  529. "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
  530. "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
  531. },
  532. "xr_standard_thumbstick_yaxis_pressed": {
  533. "componentProperty": "yAxis",
  534. "states": [
  535. "default",
  536. "touched",
  537. "pressed"
  538. ],
  539. "valueNodeProperty": "transform",
  540. "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
  541. "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
  542. "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
  543. }
  544. }
  545. }
  546. },
  547. "gamepadMapping": "xr-standard",
  548. "rootNodeName": "generic-trigger-squeeze-touchpad-thumbstick-none",
  549. "assetPath": "none.glb"
  550. }
  551. }
  552. }