profile.json 13 KB

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