profile.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. {
  2. "profileId": "generic-trigger-squeeze-touchpad",
  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. },
  132. "gamepadMapping": "xr-standard",
  133. "rootNodeName": "generic-trigger-squeeze-touchpad-left",
  134. "assetPath": "left.glb"
  135. },
  136. "right": {
  137. "selectComponentId": "xr-standard-trigger",
  138. "components": {
  139. "xr-standard-trigger": {
  140. "type": "trigger",
  141. "gamepadIndices": {
  142. "button": 0
  143. },
  144. "rootNodeName": "xr_standard_trigger",
  145. "visualResponses": {
  146. "xr_standard_trigger_pressed": {
  147. "componentProperty": "button",
  148. "states": [
  149. "default",
  150. "touched",
  151. "pressed"
  152. ],
  153. "valueNodeProperty": "transform",
  154. "valueNodeName": "xr_standard_trigger_pressed_value",
  155. "minNodeName": "xr_standard_trigger_pressed_min",
  156. "maxNodeName": "xr_standard_trigger_pressed_max"
  157. }
  158. }
  159. },
  160. "xr-standard-squeeze": {
  161. "type": "squeeze",
  162. "gamepadIndices": {
  163. "button": 1
  164. },
  165. "rootNodeName": "xr_standard_squeeze",
  166. "visualResponses": {
  167. "xr_standard_squeeze_pressed": {
  168. "componentProperty": "button",
  169. "states": [
  170. "default",
  171. "touched",
  172. "pressed"
  173. ],
  174. "valueNodeProperty": "transform",
  175. "valueNodeName": "xr_standard_squeeze_pressed_value",
  176. "minNodeName": "xr_standard_squeeze_pressed_min",
  177. "maxNodeName": "xr_standard_squeeze_pressed_max"
  178. }
  179. }
  180. },
  181. "xr-standard-touchpad": {
  182. "type": "touchpad",
  183. "gamepadIndices": {
  184. "button": 2,
  185. "xAxis": 0,
  186. "yAxis": 1
  187. },
  188. "rootNodeName": "xr_standard_touchpad",
  189. "visualResponses": {
  190. "xr_standard_touchpad_pressed": {
  191. "componentProperty": "button",
  192. "states": [
  193. "default",
  194. "touched",
  195. "pressed"
  196. ],
  197. "valueNodeProperty": "transform",
  198. "valueNodeName": "xr_standard_touchpad_pressed_value",
  199. "minNodeName": "xr_standard_touchpad_pressed_min",
  200. "maxNodeName": "xr_standard_touchpad_pressed_max"
  201. },
  202. "xr_standard_touchpad_xaxis_pressed": {
  203. "componentProperty": "xAxis",
  204. "states": [
  205. "default",
  206. "touched",
  207. "pressed"
  208. ],
  209. "valueNodeProperty": "transform",
  210. "valueNodeName": "xr_standard_touchpad_xaxis_pressed_value",
  211. "minNodeName": "xr_standard_touchpad_xaxis_pressed_min",
  212. "maxNodeName": "xr_standard_touchpad_xaxis_pressed_max"
  213. },
  214. "xr_standard_touchpad_yaxis_pressed": {
  215. "componentProperty": "yAxis",
  216. "states": [
  217. "default",
  218. "touched",
  219. "pressed"
  220. ],
  221. "valueNodeProperty": "transform",
  222. "valueNodeName": "xr_standard_touchpad_yaxis_pressed_value",
  223. "minNodeName": "xr_standard_touchpad_yaxis_pressed_min",
  224. "maxNodeName": "xr_standard_touchpad_yaxis_pressed_max"
  225. },
  226. "xr_standard_touchpad_xaxis_touched": {
  227. "componentProperty": "xAxis",
  228. "states": [
  229. "default",
  230. "touched",
  231. "pressed"
  232. ],
  233. "valueNodeProperty": "transform",
  234. "valueNodeName": "xr_standard_touchpad_xaxis_touched_value",
  235. "minNodeName": "xr_standard_touchpad_xaxis_touched_min",
  236. "maxNodeName": "xr_standard_touchpad_xaxis_touched_max"
  237. },
  238. "xr_standard_touchpad_yaxis_touched": {
  239. "componentProperty": "yAxis",
  240. "states": [
  241. "default",
  242. "touched",
  243. "pressed"
  244. ],
  245. "valueNodeProperty": "transform",
  246. "valueNodeName": "xr_standard_touchpad_yaxis_touched_value",
  247. "minNodeName": "xr_standard_touchpad_yaxis_touched_min",
  248. "maxNodeName": "xr_standard_touchpad_yaxis_touched_max"
  249. },
  250. "xr_standard_touchpad_axes_touched": {
  251. "componentProperty": "state",
  252. "states": [
  253. "touched",
  254. "pressed"
  255. ],
  256. "valueNodeProperty": "visibility",
  257. "valueNodeName": "xr_standard_touchpad_axes_touched_value"
  258. }
  259. },
  260. "touchPointNodeName": "xr_standard_touchpad_axes_touched_value"
  261. }
  262. },
  263. "gamepadMapping": "xr-standard",
  264. "rootNodeName": "generic-trigger-squeeze-touchpad-right",
  265. "assetPath": "right.glb"
  266. },
  267. "none": {
  268. "selectComponentId": "xr-standard-trigger",
  269. "components": {
  270. "xr-standard-trigger": {
  271. "type": "trigger",
  272. "gamepadIndices": {
  273. "button": 0
  274. },
  275. "rootNodeName": "xr_standard_trigger",
  276. "visualResponses": {
  277. "xr_standard_trigger_pressed": {
  278. "componentProperty": "button",
  279. "states": [
  280. "default",
  281. "touched",
  282. "pressed"
  283. ],
  284. "valueNodeProperty": "transform",
  285. "valueNodeName": "xr_standard_trigger_pressed_value",
  286. "minNodeName": "xr_standard_trigger_pressed_min",
  287. "maxNodeName": "xr_standard_trigger_pressed_max"
  288. }
  289. }
  290. },
  291. "xr-standard-squeeze": {
  292. "type": "squeeze",
  293. "gamepadIndices": {
  294. "button": 1
  295. },
  296. "rootNodeName": "xr_standard_squeeze",
  297. "visualResponses": {
  298. "xr_standard_squeeze_pressed": {
  299. "componentProperty": "button",
  300. "states": [
  301. "default",
  302. "touched",
  303. "pressed"
  304. ],
  305. "valueNodeProperty": "transform",
  306. "valueNodeName": "xr_standard_squeeze_pressed_value",
  307. "minNodeName": "xr_standard_squeeze_pressed_min",
  308. "maxNodeName": "xr_standard_squeeze_pressed_max"
  309. },
  310. "xr_standard_squeeze_pressed_mirror": {
  311. "componentProperty": "button",
  312. "states": [
  313. "default",
  314. "touched",
  315. "pressed"
  316. ],
  317. "valueNodeProperty": "transform",
  318. "valueNodeName": "xr_standard_squeeze_pressed_mirror_value",
  319. "minNodeName": "xr_standard_squeeze_pressed_mirror_min",
  320. "maxNodeName": "xr_standard_squeeze_pressed_mirror_max"
  321. }
  322. }
  323. },
  324. "xr-standard-touchpad": {
  325. "type": "touchpad",
  326. "gamepadIndices": {
  327. "button": 2,
  328. "xAxis": 0,
  329. "yAxis": 1
  330. },
  331. "rootNodeName": "xr_standard_touchpad",
  332. "visualResponses": {
  333. "xr_standard_touchpad_pressed": {
  334. "componentProperty": "button",
  335. "states": [
  336. "default",
  337. "touched",
  338. "pressed"
  339. ],
  340. "valueNodeProperty": "transform",
  341. "valueNodeName": "xr_standard_touchpad_pressed_value",
  342. "minNodeName": "xr_standard_touchpad_pressed_min",
  343. "maxNodeName": "xr_standard_touchpad_pressed_max"
  344. },
  345. "xr_standard_touchpad_xaxis_pressed": {
  346. "componentProperty": "xAxis",
  347. "states": [
  348. "default",
  349. "touched",
  350. "pressed"
  351. ],
  352. "valueNodeProperty": "transform",
  353. "valueNodeName": "xr_standard_touchpad_xaxis_pressed_value",
  354. "minNodeName": "xr_standard_touchpad_xaxis_pressed_min",
  355. "maxNodeName": "xr_standard_touchpad_xaxis_pressed_max"
  356. },
  357. "xr_standard_touchpad_yaxis_pressed": {
  358. "componentProperty": "yAxis",
  359. "states": [
  360. "default",
  361. "touched",
  362. "pressed"
  363. ],
  364. "valueNodeProperty": "transform",
  365. "valueNodeName": "xr_standard_touchpad_yaxis_pressed_value",
  366. "minNodeName": "xr_standard_touchpad_yaxis_pressed_min",
  367. "maxNodeName": "xr_standard_touchpad_yaxis_pressed_max"
  368. },
  369. "xr_standard_touchpad_xaxis_touched": {
  370. "componentProperty": "xAxis",
  371. "states": [
  372. "default",
  373. "touched",
  374. "pressed"
  375. ],
  376. "valueNodeProperty": "transform",
  377. "valueNodeName": "xr_standard_touchpad_xaxis_touched_value",
  378. "minNodeName": "xr_standard_touchpad_xaxis_touched_min",
  379. "maxNodeName": "xr_standard_touchpad_xaxis_touched_max"
  380. },
  381. "xr_standard_touchpad_yaxis_touched": {
  382. "componentProperty": "yAxis",
  383. "states": [
  384. "default",
  385. "touched",
  386. "pressed"
  387. ],
  388. "valueNodeProperty": "transform",
  389. "valueNodeName": "xr_standard_touchpad_yaxis_touched_value",
  390. "minNodeName": "xr_standard_touchpad_yaxis_touched_min",
  391. "maxNodeName": "xr_standard_touchpad_yaxis_touched_max"
  392. },
  393. "xr_standard_touchpad_axes_touched": {
  394. "componentProperty": "state",
  395. "states": [
  396. "touched",
  397. "pressed"
  398. ],
  399. "valueNodeProperty": "visibility",
  400. "valueNodeName": "xr_standard_touchpad_axes_touched_value"
  401. }
  402. },
  403. "touchPointNodeName": "xr_standard_touchpad_axes_touched_value"
  404. }
  405. },
  406. "gamepadMapping": "xr-standard",
  407. "rootNodeName": "generic-trigger-squeeze-touchpad-none",
  408. "assetPath": "none.glb"
  409. }
  410. }
  411. }