1
0

profile.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  1. {
  2. "profileId": "samsung-gearvr",
  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. "menu": {
  113. "type": "button",
  114. "gamepadIndices": {
  115. "button": 4
  116. },
  117. "rootNodeName": "menu",
  118. "visualResponses": {
  119. "menu_pressed": {
  120. "componentProperty": "button",
  121. "states": [
  122. "default",
  123. "touched",
  124. "pressed"
  125. ],
  126. "valueNodeProperty": "transform",
  127. "valueNodeName": "menu_pressed_value",
  128. "minNodeName": "menu_pressed_min",
  129. "maxNodeName": "menu_pressed_max"
  130. }
  131. }
  132. }
  133. },
  134. "gamepadMapping": "xr-standard",
  135. "rootNodeName": "samsung_gearvr_none",
  136. "assetPath": "none.glb"
  137. },
  138. "right": {
  139. "selectComponentId": "xr-standard-trigger",
  140. "components": {
  141. "xr-standard-trigger": {
  142. "type": "trigger",
  143. "gamepadIndices": {
  144. "button": 0
  145. },
  146. "rootNodeName": "xr_standard_trigger",
  147. "visualResponses": {
  148. "xr_standard_trigger_pressed": {
  149. "componentProperty": "button",
  150. "states": [
  151. "default",
  152. "touched",
  153. "pressed"
  154. ],
  155. "valueNodeProperty": "transform",
  156. "valueNodeName": "xr_standard_trigger_pressed_value",
  157. "minNodeName": "xr_standard_trigger_pressed_min",
  158. "maxNodeName": "xr_standard_trigger_pressed_max"
  159. }
  160. }
  161. },
  162. "xr-standard-touchpad": {
  163. "type": "touchpad",
  164. "gamepadIndices": {
  165. "button": 2,
  166. "xAxis": 0,
  167. "yAxis": 1
  168. },
  169. "rootNodeName": "xr_standard_touchpad",
  170. "visualResponses": {
  171. "xr_standard_touchpad_pressed": {
  172. "componentProperty": "button",
  173. "states": [
  174. "default",
  175. "touched",
  176. "pressed"
  177. ],
  178. "valueNodeProperty": "transform",
  179. "valueNodeName": "xr_standard_touchpad_pressed_value",
  180. "minNodeName": "xr_standard_touchpad_pressed_min",
  181. "maxNodeName": "xr_standard_touchpad_pressed_max"
  182. },
  183. "xr_standard_touchpad_xaxis_pressed": {
  184. "componentProperty": "xAxis",
  185. "states": [
  186. "default",
  187. "touched",
  188. "pressed"
  189. ],
  190. "valueNodeProperty": "transform",
  191. "valueNodeName": "xr_standard_touchpad_xaxis_pressed_value",
  192. "minNodeName": "xr_standard_touchpad_xaxis_pressed_min",
  193. "maxNodeName": "xr_standard_touchpad_xaxis_pressed_max"
  194. },
  195. "xr_standard_touchpad_yaxis_pressed": {
  196. "componentProperty": "yAxis",
  197. "states": [
  198. "default",
  199. "touched",
  200. "pressed"
  201. ],
  202. "valueNodeProperty": "transform",
  203. "valueNodeName": "xr_standard_touchpad_yaxis_pressed_value",
  204. "minNodeName": "xr_standard_touchpad_yaxis_pressed_min",
  205. "maxNodeName": "xr_standard_touchpad_yaxis_pressed_max"
  206. },
  207. "xr_standard_touchpad_xaxis_touched": {
  208. "componentProperty": "xAxis",
  209. "states": [
  210. "default",
  211. "touched",
  212. "pressed"
  213. ],
  214. "valueNodeProperty": "transform",
  215. "valueNodeName": "xr_standard_touchpad_xaxis_touched_value",
  216. "minNodeName": "xr_standard_touchpad_xaxis_touched_min",
  217. "maxNodeName": "xr_standard_touchpad_xaxis_touched_max"
  218. },
  219. "xr_standard_touchpad_yaxis_touched": {
  220. "componentProperty": "yAxis",
  221. "states": [
  222. "default",
  223. "touched",
  224. "pressed"
  225. ],
  226. "valueNodeProperty": "transform",
  227. "valueNodeName": "xr_standard_touchpad_yaxis_touched_value",
  228. "minNodeName": "xr_standard_touchpad_yaxis_touched_min",
  229. "maxNodeName": "xr_standard_touchpad_yaxis_touched_max"
  230. },
  231. "xr_standard_touchpad_axes_touched": {
  232. "componentProperty": "state",
  233. "states": [
  234. "touched",
  235. "pressed"
  236. ],
  237. "valueNodeProperty": "visibility",
  238. "valueNodeName": "xr_standard_touchpad_axes_touched_value"
  239. }
  240. },
  241. "touchPointNodeName": "xr_standard_touchpad_axes_touched_value"
  242. },
  243. "menu": {
  244. "type": "button",
  245. "gamepadIndices": {
  246. "button": 4
  247. },
  248. "rootNodeName": "menu",
  249. "visualResponses": {
  250. "menu_pressed": {
  251. "componentProperty": "button",
  252. "states": [
  253. "default",
  254. "touched",
  255. "pressed"
  256. ],
  257. "valueNodeProperty": "transform",
  258. "valueNodeName": "menu_pressed_value",
  259. "minNodeName": "menu_pressed_min",
  260. "maxNodeName": "menu_pressed_max"
  261. }
  262. }
  263. }
  264. },
  265. "gamepadMapping": "xr-standard",
  266. "rootNodeName": "samsung_gearvr_none",
  267. "assetPath": "none.glb"
  268. },
  269. "none": {
  270. "selectComponentId": "xr-standard-trigger",
  271. "components": {
  272. "xr-standard-trigger": {
  273. "type": "trigger",
  274. "gamepadIndices": {
  275. "button": 0
  276. },
  277. "rootNodeName": "xr_standard_trigger",
  278. "visualResponses": {
  279. "xr_standard_trigger_pressed": {
  280. "componentProperty": "button",
  281. "states": [
  282. "default",
  283. "touched",
  284. "pressed"
  285. ],
  286. "valueNodeProperty": "transform",
  287. "valueNodeName": "xr_standard_trigger_pressed_value",
  288. "minNodeName": "xr_standard_trigger_pressed_min",
  289. "maxNodeName": "xr_standard_trigger_pressed_max"
  290. }
  291. }
  292. },
  293. "xr-standard-touchpad": {
  294. "type": "touchpad",
  295. "gamepadIndices": {
  296. "button": 2,
  297. "xAxis": 0,
  298. "yAxis": 1
  299. },
  300. "rootNodeName": "xr_standard_touchpad",
  301. "visualResponses": {
  302. "xr_standard_touchpad_pressed": {
  303. "componentProperty": "button",
  304. "states": [
  305. "default",
  306. "touched",
  307. "pressed"
  308. ],
  309. "valueNodeProperty": "transform",
  310. "valueNodeName": "xr_standard_touchpad_pressed_value",
  311. "minNodeName": "xr_standard_touchpad_pressed_min",
  312. "maxNodeName": "xr_standard_touchpad_pressed_max"
  313. },
  314. "xr_standard_touchpad_xaxis_pressed": {
  315. "componentProperty": "xAxis",
  316. "states": [
  317. "default",
  318. "touched",
  319. "pressed"
  320. ],
  321. "valueNodeProperty": "transform",
  322. "valueNodeName": "xr_standard_touchpad_xaxis_pressed_value",
  323. "minNodeName": "xr_standard_touchpad_xaxis_pressed_min",
  324. "maxNodeName": "xr_standard_touchpad_xaxis_pressed_max"
  325. },
  326. "xr_standard_touchpad_yaxis_pressed": {
  327. "componentProperty": "yAxis",
  328. "states": [
  329. "default",
  330. "touched",
  331. "pressed"
  332. ],
  333. "valueNodeProperty": "transform",
  334. "valueNodeName": "xr_standard_touchpad_yaxis_pressed_value",
  335. "minNodeName": "xr_standard_touchpad_yaxis_pressed_min",
  336. "maxNodeName": "xr_standard_touchpad_yaxis_pressed_max"
  337. },
  338. "xr_standard_touchpad_xaxis_touched": {
  339. "componentProperty": "xAxis",
  340. "states": [
  341. "default",
  342. "touched",
  343. "pressed"
  344. ],
  345. "valueNodeProperty": "transform",
  346. "valueNodeName": "xr_standard_touchpad_xaxis_touched_value",
  347. "minNodeName": "xr_standard_touchpad_xaxis_touched_min",
  348. "maxNodeName": "xr_standard_touchpad_xaxis_touched_max"
  349. },
  350. "xr_standard_touchpad_yaxis_touched": {
  351. "componentProperty": "yAxis",
  352. "states": [
  353. "default",
  354. "touched",
  355. "pressed"
  356. ],
  357. "valueNodeProperty": "transform",
  358. "valueNodeName": "xr_standard_touchpad_yaxis_touched_value",
  359. "minNodeName": "xr_standard_touchpad_yaxis_touched_min",
  360. "maxNodeName": "xr_standard_touchpad_yaxis_touched_max"
  361. },
  362. "xr_standard_touchpad_axes_touched": {
  363. "componentProperty": "state",
  364. "states": [
  365. "touched",
  366. "pressed"
  367. ],
  368. "valueNodeProperty": "visibility",
  369. "valueNodeName": "xr_standard_touchpad_axes_touched_value"
  370. }
  371. },
  372. "touchPointNodeName": "xr_standard_touchpad_axes_touched_value"
  373. },
  374. "menu": {
  375. "type": "button",
  376. "gamepadIndices": {
  377. "button": 4
  378. },
  379. "rootNodeName": "menu",
  380. "visualResponses": {
  381. "menu_pressed": {
  382. "componentProperty": "button",
  383. "states": [
  384. "default",
  385. "touched",
  386. "pressed"
  387. ],
  388. "valueNodeProperty": "transform",
  389. "valueNodeName": "menu_pressed_value",
  390. "minNodeName": "menu_pressed_min",
  391. "maxNodeName": "menu_pressed_max"
  392. }
  393. }
  394. }
  395. },
  396. "gamepadMapping": "xr-standard",
  397. "rootNodeName": "samsung-gearvr-none",
  398. "assetPath": "none.glb"
  399. }
  400. }
  401. }