1
0

profile.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. {
  2. "profileId": "generic-trigger-squeeze-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-thumbstick": {
  51. "type": "thumbstick",
  52. "gamepadIndices": {
  53. "button": 3,
  54. "xAxis": 2,
  55. "yAxis": 3
  56. },
  57. "rootNodeName": "xr_standard_thumbstick",
  58. "visualResponses": {
  59. "xr_standard_thumbstick_pressed": {
  60. "componentProperty": "button",
  61. "states": [
  62. "default",
  63. "touched",
  64. "pressed"
  65. ],
  66. "valueNodeProperty": "transform",
  67. "valueNodeName": "xr_standard_thumbstick_pressed_value",
  68. "minNodeName": "xr_standard_thumbstick_pressed_min",
  69. "maxNodeName": "xr_standard_thumbstick_pressed_max"
  70. },
  71. "xr_standard_thumbstick_xaxis_pressed": {
  72. "componentProperty": "xAxis",
  73. "states": [
  74. "default",
  75. "touched",
  76. "pressed"
  77. ],
  78. "valueNodeProperty": "transform",
  79. "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
  80. "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
  81. "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
  82. },
  83. "xr_standard_thumbstick_yaxis_pressed": {
  84. "componentProperty": "yAxis",
  85. "states": [
  86. "default",
  87. "touched",
  88. "pressed"
  89. ],
  90. "valueNodeProperty": "transform",
  91. "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
  92. "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
  93. "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
  94. }
  95. }
  96. }
  97. },
  98. "gamepadMapping": "xr-standard",
  99. "rootNodeName": "generic-trigger-squeeze-thumbstick-left",
  100. "assetPath": "left.glb"
  101. },
  102. "right": {
  103. "selectComponentId": "xr-standard-trigger",
  104. "components": {
  105. "xr-standard-trigger": {
  106. "type": "trigger",
  107. "gamepadIndices": {
  108. "button": 0
  109. },
  110. "rootNodeName": "xr_standard_trigger",
  111. "visualResponses": {
  112. "xr_standard_trigger_pressed": {
  113. "componentProperty": "button",
  114. "states": [
  115. "default",
  116. "touched",
  117. "pressed"
  118. ],
  119. "valueNodeProperty": "transform",
  120. "valueNodeName": "xr_standard_trigger_pressed_value",
  121. "minNodeName": "xr_standard_trigger_pressed_min",
  122. "maxNodeName": "xr_standard_trigger_pressed_max"
  123. }
  124. }
  125. },
  126. "xr-standard-squeeze": {
  127. "type": "squeeze",
  128. "gamepadIndices": {
  129. "button": 1
  130. },
  131. "rootNodeName": "xr_standard_squeeze",
  132. "visualResponses": {
  133. "xr_standard_squeeze_pressed": {
  134. "componentProperty": "button",
  135. "states": [
  136. "default",
  137. "touched",
  138. "pressed"
  139. ],
  140. "valueNodeProperty": "transform",
  141. "valueNodeName": "xr_standard_squeeze_pressed_value",
  142. "minNodeName": "xr_standard_squeeze_pressed_min",
  143. "maxNodeName": "xr_standard_squeeze_pressed_max"
  144. }
  145. }
  146. },
  147. "xr-standard-thumbstick": {
  148. "type": "thumbstick",
  149. "gamepadIndices": {
  150. "button": 3,
  151. "xAxis": 2,
  152. "yAxis": 3
  153. },
  154. "rootNodeName": "xr_standard_thumbstick",
  155. "visualResponses": {
  156. "xr_standard_thumbstick_pressed": {
  157. "componentProperty": "button",
  158. "states": [
  159. "default",
  160. "touched",
  161. "pressed"
  162. ],
  163. "valueNodeProperty": "transform",
  164. "valueNodeName": "xr_standard_thumbstick_pressed_value",
  165. "minNodeName": "xr_standard_thumbstick_pressed_min",
  166. "maxNodeName": "xr_standard_thumbstick_pressed_max"
  167. },
  168. "xr_standard_thumbstick_xaxis_pressed": {
  169. "componentProperty": "xAxis",
  170. "states": [
  171. "default",
  172. "touched",
  173. "pressed"
  174. ],
  175. "valueNodeProperty": "transform",
  176. "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
  177. "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
  178. "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
  179. },
  180. "xr_standard_thumbstick_yaxis_pressed": {
  181. "componentProperty": "yAxis",
  182. "states": [
  183. "default",
  184. "touched",
  185. "pressed"
  186. ],
  187. "valueNodeProperty": "transform",
  188. "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
  189. "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
  190. "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
  191. }
  192. }
  193. }
  194. },
  195. "gamepadMapping": "xr-standard",
  196. "rootNodeName": "generic-trigger-squeeze-thumbstick-right",
  197. "assetPath": "right.glb"
  198. },
  199. "none": {
  200. "selectComponentId": "xr-standard-trigger",
  201. "components": {
  202. "xr-standard-trigger": {
  203. "type": "trigger",
  204. "gamepadIndices": {
  205. "button": 0
  206. },
  207. "rootNodeName": "xr_standard_trigger",
  208. "visualResponses": {
  209. "xr_standard_trigger_pressed": {
  210. "componentProperty": "button",
  211. "states": [
  212. "default",
  213. "touched",
  214. "pressed"
  215. ],
  216. "valueNodeProperty": "transform",
  217. "valueNodeName": "xr_standard_trigger_pressed_value",
  218. "minNodeName": "xr_standard_trigger_pressed_min",
  219. "maxNodeName": "xr_standard_trigger_pressed_max"
  220. }
  221. }
  222. },
  223. "xr-standard-squeeze": {
  224. "type": "squeeze",
  225. "gamepadIndices": {
  226. "button": 1
  227. },
  228. "rootNodeName": "xr_standard_squeeze",
  229. "visualResponses": {
  230. "xr_standard_squeeze_pressed": {
  231. "componentProperty": "button",
  232. "states": [
  233. "default",
  234. "touched",
  235. "pressed"
  236. ],
  237. "valueNodeProperty": "transform",
  238. "valueNodeName": "xr_standard_squeeze_pressed_value",
  239. "minNodeName": "xr_standard_squeeze_pressed_min",
  240. "maxNodeName": "xr_standard_squeeze_pressed_max"
  241. },
  242. "xr_standard_squeeze_pressed_mirror": {
  243. "componentProperty": "button",
  244. "states": [
  245. "default",
  246. "touched",
  247. "pressed"
  248. ],
  249. "valueNodeProperty": "transform",
  250. "valueNodeName": "xr_standard_squeeze_pressed_mirror_value",
  251. "minNodeName": "xr_standard_squeeze_pressed_mirror_min",
  252. "maxNodeName": "xr_standard_squeeze_pressed_mirror_max"
  253. }
  254. }
  255. },
  256. "xr-standard-thumbstick": {
  257. "type": "thumbstick",
  258. "gamepadIndices": {
  259. "button": 3,
  260. "xAxis": 2,
  261. "yAxis": 3
  262. },
  263. "rootNodeName": "xr_standard_thumbstick",
  264. "visualResponses": {
  265. "xr_standard_thumbstick_pressed": {
  266. "componentProperty": "button",
  267. "states": [
  268. "default",
  269. "touched",
  270. "pressed"
  271. ],
  272. "valueNodeProperty": "transform",
  273. "valueNodeName": "xr_standard_thumbstick_pressed_value",
  274. "minNodeName": "xr_standard_thumbstick_pressed_min",
  275. "maxNodeName": "xr_standard_thumbstick_pressed_max"
  276. },
  277. "xr_standard_thumbstick_xaxis_pressed": {
  278. "componentProperty": "xAxis",
  279. "states": [
  280. "default",
  281. "touched",
  282. "pressed"
  283. ],
  284. "valueNodeProperty": "transform",
  285. "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
  286. "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
  287. "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
  288. },
  289. "xr_standard_thumbstick_yaxis_pressed": {
  290. "componentProperty": "yAxis",
  291. "states": [
  292. "default",
  293. "touched",
  294. "pressed"
  295. ],
  296. "valueNodeProperty": "transform",
  297. "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
  298. "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
  299. "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
  300. }
  301. }
  302. }
  303. },
  304. "gamepadMapping": "xr-standard",
  305. "rootNodeName": "generic-trigger-squeeze-thumbstick-none",
  306. "assetPath": "none.glb"
  307. }
  308. }
  309. }