profile.json 12 KB

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