1
0

profile.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. {
  2. "profileId": "generic-trigger-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-touchpad": {
  30. "type": "touchpad",
  31. "gamepadIndices": {
  32. "button": 2,
  33. "xAxis": 0,
  34. "yAxis": 1
  35. },
  36. "rootNodeName": "xr_standard_touchpad",
  37. "visualResponses": {
  38. "xr_standard_touchpad_pressed": {
  39. "componentProperty": "button",
  40. "states": [
  41. "default",
  42. "touched",
  43. "pressed"
  44. ],
  45. "valueNodeProperty": "transform",
  46. "valueNodeName": "xr_standard_touchpad_pressed_value",
  47. "minNodeName": "xr_standard_touchpad_pressed_min",
  48. "maxNodeName": "xr_standard_touchpad_pressed_max"
  49. },
  50. "xr_standard_touchpad_xaxis_pressed": {
  51. "componentProperty": "xAxis",
  52. "states": [
  53. "default",
  54. "touched",
  55. "pressed"
  56. ],
  57. "valueNodeProperty": "transform",
  58. "valueNodeName": "xr_standard_touchpad_xaxis_pressed_value",
  59. "minNodeName": "xr_standard_touchpad_xaxis_pressed_min",
  60. "maxNodeName": "xr_standard_touchpad_xaxis_pressed_max"
  61. },
  62. "xr_standard_touchpad_yaxis_pressed": {
  63. "componentProperty": "yAxis",
  64. "states": [
  65. "default",
  66. "touched",
  67. "pressed"
  68. ],
  69. "valueNodeProperty": "transform",
  70. "valueNodeName": "xr_standard_touchpad_yaxis_pressed_value",
  71. "minNodeName": "xr_standard_touchpad_yaxis_pressed_min",
  72. "maxNodeName": "xr_standard_touchpad_yaxis_pressed_max"
  73. },
  74. "xr_standard_touchpad_xaxis_touched": {
  75. "componentProperty": "xAxis",
  76. "states": [
  77. "default",
  78. "touched",
  79. "pressed"
  80. ],
  81. "valueNodeProperty": "transform",
  82. "valueNodeName": "xr_standard_touchpad_xaxis_touched_value",
  83. "minNodeName": "xr_standard_touchpad_xaxis_touched_min",
  84. "maxNodeName": "xr_standard_touchpad_xaxis_touched_max"
  85. },
  86. "xr_standard_touchpad_yaxis_touched": {
  87. "componentProperty": "yAxis",
  88. "states": [
  89. "default",
  90. "touched",
  91. "pressed"
  92. ],
  93. "valueNodeProperty": "transform",
  94. "valueNodeName": "xr_standard_touchpad_yaxis_touched_value",
  95. "minNodeName": "xr_standard_touchpad_yaxis_touched_min",
  96. "maxNodeName": "xr_standard_touchpad_yaxis_touched_max"
  97. },
  98. "xr_standard_touchpad_axes_touched": {
  99. "componentProperty": "state",
  100. "states": [
  101. "touched",
  102. "pressed"
  103. ],
  104. "valueNodeProperty": "visibility",
  105. "valueNodeName": "xr_standard_touchpad_axes_touched_value"
  106. }
  107. },
  108. "touchPointNodeName": "xr_standard_touchpad_axes_touched_value"
  109. }
  110. },
  111. "gamepadMapping": "xr-standard",
  112. "rootNodeName": "generic-trigger-touchpad-left",
  113. "assetPath": "left.glb"
  114. },
  115. "right": {
  116. "selectComponentId": "xr-standard-trigger",
  117. "components": {
  118. "xr-standard-trigger": {
  119. "type": "trigger",
  120. "gamepadIndices": {
  121. "button": 0
  122. },
  123. "rootNodeName": "xr_standard_trigger",
  124. "visualResponses": {
  125. "xr_standard_trigger_pressed": {
  126. "componentProperty": "button",
  127. "states": [
  128. "default",
  129. "touched",
  130. "pressed"
  131. ],
  132. "valueNodeProperty": "transform",
  133. "valueNodeName": "xr_standard_trigger_pressed_value",
  134. "minNodeName": "xr_standard_trigger_pressed_min",
  135. "maxNodeName": "xr_standard_trigger_pressed_max"
  136. }
  137. }
  138. },
  139. "xr-standard-touchpad": {
  140. "type": "touchpad",
  141. "gamepadIndices": {
  142. "button": 2,
  143. "xAxis": 0,
  144. "yAxis": 1
  145. },
  146. "rootNodeName": "xr_standard_touchpad",
  147. "visualResponses": {
  148. "xr_standard_touchpad_pressed": {
  149. "componentProperty": "button",
  150. "states": [
  151. "default",
  152. "touched",
  153. "pressed"
  154. ],
  155. "valueNodeProperty": "transform",
  156. "valueNodeName": "xr_standard_touchpad_pressed_value",
  157. "minNodeName": "xr_standard_touchpad_pressed_min",
  158. "maxNodeName": "xr_standard_touchpad_pressed_max"
  159. },
  160. "xr_standard_touchpad_xaxis_pressed": {
  161. "componentProperty": "xAxis",
  162. "states": [
  163. "default",
  164. "touched",
  165. "pressed"
  166. ],
  167. "valueNodeProperty": "transform",
  168. "valueNodeName": "xr_standard_touchpad_xaxis_pressed_value",
  169. "minNodeName": "xr_standard_touchpad_xaxis_pressed_min",
  170. "maxNodeName": "xr_standard_touchpad_xaxis_pressed_max"
  171. },
  172. "xr_standard_touchpad_yaxis_pressed": {
  173. "componentProperty": "yAxis",
  174. "states": [
  175. "default",
  176. "touched",
  177. "pressed"
  178. ],
  179. "valueNodeProperty": "transform",
  180. "valueNodeName": "xr_standard_touchpad_yaxis_pressed_value",
  181. "minNodeName": "xr_standard_touchpad_yaxis_pressed_min",
  182. "maxNodeName": "xr_standard_touchpad_yaxis_pressed_max"
  183. },
  184. "xr_standard_touchpad_xaxis_touched": {
  185. "componentProperty": "xAxis",
  186. "states": [
  187. "default",
  188. "touched",
  189. "pressed"
  190. ],
  191. "valueNodeProperty": "transform",
  192. "valueNodeName": "xr_standard_touchpad_xaxis_touched_value",
  193. "minNodeName": "xr_standard_touchpad_xaxis_touched_min",
  194. "maxNodeName": "xr_standard_touchpad_xaxis_touched_max"
  195. },
  196. "xr_standard_touchpad_yaxis_touched": {
  197. "componentProperty": "yAxis",
  198. "states": [
  199. "default",
  200. "touched",
  201. "pressed"
  202. ],
  203. "valueNodeProperty": "transform",
  204. "valueNodeName": "xr_standard_touchpad_yaxis_touched_value",
  205. "minNodeName": "xr_standard_touchpad_yaxis_touched_min",
  206. "maxNodeName": "xr_standard_touchpad_yaxis_touched_max"
  207. },
  208. "xr_standard_touchpad_axes_touched": {
  209. "componentProperty": "state",
  210. "states": [
  211. "touched",
  212. "pressed"
  213. ],
  214. "valueNodeProperty": "visibility",
  215. "valueNodeName": "xr_standard_touchpad_axes_touched_value"
  216. }
  217. },
  218. "touchPointNodeName": "xr_standard_touchpad_axes_touched_value"
  219. }
  220. },
  221. "gamepadMapping": "xr-standard",
  222. "rootNodeName": "generic-trigger-touchpad-right",
  223. "assetPath": "right.glb"
  224. },
  225. "none": {
  226. "selectComponentId": "xr-standard-trigger",
  227. "components": {
  228. "xr-standard-trigger": {
  229. "type": "trigger",
  230. "gamepadIndices": {
  231. "button": 0
  232. },
  233. "rootNodeName": "xr_standard_trigger",
  234. "visualResponses": {
  235. "xr_standard_trigger_pressed": {
  236. "componentProperty": "button",
  237. "states": [
  238. "default",
  239. "touched",
  240. "pressed"
  241. ],
  242. "valueNodeProperty": "transform",
  243. "valueNodeName": "xr_standard_trigger_pressed_value",
  244. "minNodeName": "xr_standard_trigger_pressed_min",
  245. "maxNodeName": "xr_standard_trigger_pressed_max"
  246. }
  247. }
  248. },
  249. "xr-standard-touchpad": {
  250. "type": "touchpad",
  251. "gamepadIndices": {
  252. "button": 2,
  253. "xAxis": 0,
  254. "yAxis": 1
  255. },
  256. "rootNodeName": "xr_standard_touchpad",
  257. "visualResponses": {
  258. "xr_standard_touchpad_pressed": {
  259. "componentProperty": "button",
  260. "states": [
  261. "default",
  262. "touched",
  263. "pressed"
  264. ],
  265. "valueNodeProperty": "transform",
  266. "valueNodeName": "xr_standard_touchpad_pressed_value",
  267. "minNodeName": "xr_standard_touchpad_pressed_min",
  268. "maxNodeName": "xr_standard_touchpad_pressed_max"
  269. },
  270. "xr_standard_touchpad_xaxis_pressed": {
  271. "componentProperty": "xAxis",
  272. "states": [
  273. "default",
  274. "touched",
  275. "pressed"
  276. ],
  277. "valueNodeProperty": "transform",
  278. "valueNodeName": "xr_standard_touchpad_xaxis_pressed_value",
  279. "minNodeName": "xr_standard_touchpad_xaxis_pressed_min",
  280. "maxNodeName": "xr_standard_touchpad_xaxis_pressed_max"
  281. },
  282. "xr_standard_touchpad_yaxis_pressed": {
  283. "componentProperty": "yAxis",
  284. "states": [
  285. "default",
  286. "touched",
  287. "pressed"
  288. ],
  289. "valueNodeProperty": "transform",
  290. "valueNodeName": "xr_standard_touchpad_yaxis_pressed_value",
  291. "minNodeName": "xr_standard_touchpad_yaxis_pressed_min",
  292. "maxNodeName": "xr_standard_touchpad_yaxis_pressed_max"
  293. },
  294. "xr_standard_touchpad_xaxis_touched": {
  295. "componentProperty": "xAxis",
  296. "states": [
  297. "default",
  298. "touched",
  299. "pressed"
  300. ],
  301. "valueNodeProperty": "transform",
  302. "valueNodeName": "xr_standard_touchpad_xaxis_touched_value",
  303. "minNodeName": "xr_standard_touchpad_xaxis_touched_min",
  304. "maxNodeName": "xr_standard_touchpad_xaxis_touched_max"
  305. },
  306. "xr_standard_touchpad_yaxis_touched": {
  307. "componentProperty": "yAxis",
  308. "states": [
  309. "default",
  310. "touched",
  311. "pressed"
  312. ],
  313. "valueNodeProperty": "transform",
  314. "valueNodeName": "xr_standard_touchpad_yaxis_touched_value",
  315. "minNodeName": "xr_standard_touchpad_yaxis_touched_min",
  316. "maxNodeName": "xr_standard_touchpad_yaxis_touched_max"
  317. },
  318. "xr_standard_touchpad_axes_touched": {
  319. "componentProperty": "state",
  320. "states": [
  321. "touched",
  322. "pressed"
  323. ],
  324. "valueNodeProperty": "visibility",
  325. "valueNodeName": "xr_standard_touchpad_axes_touched_value"
  326. }
  327. },
  328. "touchPointNodeName": "xr_standard_touchpad_axes_touched_value"
  329. }
  330. },
  331. "gamepadMapping": "xr-standard",
  332. "rootNodeName": "generic-trigger-touchpad-none",
  333. "assetPath": "none.glb"
  334. }
  335. }
  336. }