1
0

profile.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. {
  2. "profileId": "htc-vive-focus-plus",
  3. "fallbackProfileIds": [
  4. "generic-trigger-squeeze-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-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. },
  134. "gamepadMapping": "xr-standard",
  135. "rootNodeName": "htc_vive_focus_plus_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-squeeze": {
  163. "type": "squeeze",
  164. "gamepadIndices": {
  165. "button": 1
  166. },
  167. "rootNodeName": "xr_standard_squeeze",
  168. "visualResponses": {
  169. "xr_standard_squeeze_pressed": {
  170. "componentProperty": "button",
  171. "states": [
  172. "default",
  173. "touched",
  174. "pressed"
  175. ],
  176. "valueNodeProperty": "transform",
  177. "valueNodeName": "xr_standard_squeeze_pressed_value",
  178. "minNodeName": "xr_standard_squeeze_pressed_min",
  179. "maxNodeName": "xr_standard_squeeze_pressed_max"
  180. }
  181. }
  182. },
  183. "xr-standard-touchpad": {
  184. "type": "touchpad",
  185. "gamepadIndices": {
  186. "button": 2,
  187. "xAxis": 0,
  188. "yAxis": 1
  189. },
  190. "rootNodeName": "xr_standard_touchpad",
  191. "visualResponses": {
  192. "xr_standard_touchpad_pressed": {
  193. "componentProperty": "button",
  194. "states": [
  195. "default",
  196. "touched",
  197. "pressed"
  198. ],
  199. "valueNodeProperty": "transform",
  200. "valueNodeName": "xr_standard_touchpad_pressed_value",
  201. "minNodeName": "xr_standard_touchpad_pressed_min",
  202. "maxNodeName": "xr_standard_touchpad_pressed_max"
  203. },
  204. "xr_standard_touchpad_xaxis_pressed": {
  205. "componentProperty": "xAxis",
  206. "states": [
  207. "default",
  208. "touched",
  209. "pressed"
  210. ],
  211. "valueNodeProperty": "transform",
  212. "valueNodeName": "xr_standard_touchpad_xaxis_pressed_value",
  213. "minNodeName": "xr_standard_touchpad_xaxis_pressed_min",
  214. "maxNodeName": "xr_standard_touchpad_xaxis_pressed_max"
  215. },
  216. "xr_standard_touchpad_yaxis_pressed": {
  217. "componentProperty": "yAxis",
  218. "states": [
  219. "default",
  220. "touched",
  221. "pressed"
  222. ],
  223. "valueNodeProperty": "transform",
  224. "valueNodeName": "xr_standard_touchpad_yaxis_pressed_value",
  225. "minNodeName": "xr_standard_touchpad_yaxis_pressed_min",
  226. "maxNodeName": "xr_standard_touchpad_yaxis_pressed_max"
  227. },
  228. "xr_standard_touchpad_xaxis_touched": {
  229. "componentProperty": "xAxis",
  230. "states": [
  231. "default",
  232. "touched",
  233. "pressed"
  234. ],
  235. "valueNodeProperty": "transform",
  236. "valueNodeName": "xr_standard_touchpad_xaxis_touched_value",
  237. "minNodeName": "xr_standard_touchpad_xaxis_touched_min",
  238. "maxNodeName": "xr_standard_touchpad_xaxis_touched_max"
  239. },
  240. "xr_standard_touchpad_yaxis_touched": {
  241. "componentProperty": "yAxis",
  242. "states": [
  243. "default",
  244. "touched",
  245. "pressed"
  246. ],
  247. "valueNodeProperty": "transform",
  248. "valueNodeName": "xr_standard_touchpad_yaxis_touched_value",
  249. "minNodeName": "xr_standard_touchpad_yaxis_touched_min",
  250. "maxNodeName": "xr_standard_touchpad_yaxis_touched_max"
  251. },
  252. "xr_standard_touchpad_axes_touched": {
  253. "componentProperty": "state",
  254. "states": [
  255. "touched",
  256. "pressed"
  257. ],
  258. "valueNodeProperty": "visibility",
  259. "valueNodeName": "xr_standard_touchpad_axes_touched_value"
  260. }
  261. },
  262. "touchPointNodeName": "xr_standard_touchpad_axes_touched_value"
  263. }
  264. },
  265. "gamepadMapping": "xr-standard",
  266. "rootNodeName": "htc_vive_focus_plus_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-squeeze": {
  294. "type": "squeeze",
  295. "gamepadIndices": {
  296. "button": 1
  297. },
  298. "rootNodeName": "xr_standard_squeeze",
  299. "visualResponses": {
  300. "xr_standard_squeeze_pressed": {
  301. "componentProperty": "button",
  302. "states": [
  303. "default",
  304. "touched",
  305. "pressed"
  306. ],
  307. "valueNodeProperty": "transform",
  308. "valueNodeName": "xr_standard_squeeze_pressed_value",
  309. "minNodeName": "xr_standard_squeeze_pressed_min",
  310. "maxNodeName": "xr_standard_squeeze_pressed_max"
  311. },
  312. "xr_standard_squeeze_pressed_mirror": {
  313. "componentProperty": "button",
  314. "states": [
  315. "default",
  316. "touched",
  317. "pressed"
  318. ],
  319. "valueNodeProperty": "transform",
  320. "valueNodeName": "xr_standard_squeeze_pressed_mirror_value",
  321. "minNodeName": "xr_standard_squeeze_pressed_mirror_min",
  322. "maxNodeName": "xr_standard_squeeze_pressed_mirror_max"
  323. }
  324. }
  325. },
  326. "xr-standard-touchpad": {
  327. "type": "touchpad",
  328. "gamepadIndices": {
  329. "button": 2,
  330. "xAxis": 0,
  331. "yAxis": 1
  332. },
  333. "rootNodeName": "xr_standard_touchpad",
  334. "visualResponses": {
  335. "xr_standard_touchpad_pressed": {
  336. "componentProperty": "button",
  337. "states": [
  338. "default",
  339. "touched",
  340. "pressed"
  341. ],
  342. "valueNodeProperty": "transform",
  343. "valueNodeName": "xr_standard_touchpad_pressed_value",
  344. "minNodeName": "xr_standard_touchpad_pressed_min",
  345. "maxNodeName": "xr_standard_touchpad_pressed_max"
  346. },
  347. "xr_standard_touchpad_xaxis_pressed": {
  348. "componentProperty": "xAxis",
  349. "states": [
  350. "default",
  351. "touched",
  352. "pressed"
  353. ],
  354. "valueNodeProperty": "transform",
  355. "valueNodeName": "xr_standard_touchpad_xaxis_pressed_value",
  356. "minNodeName": "xr_standard_touchpad_xaxis_pressed_min",
  357. "maxNodeName": "xr_standard_touchpad_xaxis_pressed_max"
  358. },
  359. "xr_standard_touchpad_yaxis_pressed": {
  360. "componentProperty": "yAxis",
  361. "states": [
  362. "default",
  363. "touched",
  364. "pressed"
  365. ],
  366. "valueNodeProperty": "transform",
  367. "valueNodeName": "xr_standard_touchpad_yaxis_pressed_value",
  368. "minNodeName": "xr_standard_touchpad_yaxis_pressed_min",
  369. "maxNodeName": "xr_standard_touchpad_yaxis_pressed_max"
  370. },
  371. "xr_standard_touchpad_xaxis_touched": {
  372. "componentProperty": "xAxis",
  373. "states": [
  374. "default",
  375. "touched",
  376. "pressed"
  377. ],
  378. "valueNodeProperty": "transform",
  379. "valueNodeName": "xr_standard_touchpad_xaxis_touched_value",
  380. "minNodeName": "xr_standard_touchpad_xaxis_touched_min",
  381. "maxNodeName": "xr_standard_touchpad_xaxis_touched_max"
  382. },
  383. "xr_standard_touchpad_yaxis_touched": {
  384. "componentProperty": "yAxis",
  385. "states": [
  386. "default",
  387. "touched",
  388. "pressed"
  389. ],
  390. "valueNodeProperty": "transform",
  391. "valueNodeName": "xr_standard_touchpad_yaxis_touched_value",
  392. "minNodeName": "xr_standard_touchpad_yaxis_touched_min",
  393. "maxNodeName": "xr_standard_touchpad_yaxis_touched_max"
  394. },
  395. "xr_standard_touchpad_axes_touched": {
  396. "componentProperty": "state",
  397. "states": [
  398. "touched",
  399. "pressed"
  400. ],
  401. "valueNodeProperty": "visibility",
  402. "valueNodeName": "xr_standard_touchpad_axes_touched_value"
  403. }
  404. },
  405. "touchPointNodeName": "xr_standard_touchpad_axes_touched_value"
  406. }
  407. },
  408. "gamepadMapping": "xr-standard",
  409. "rootNodeName": "htc-vive-focus-plus-none",
  410. "assetPath": "none.glb"
  411. }
  412. }
  413. }