profile.json 13 KB

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