profile.json 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. {
  2. "profileId": "generic-trigger-thumbstick",
  3. "fallbackProfileIds": [],
  4. "layouts": {
  5. "left": {
  6. "selectComponentId": "xr-standard-trigger",
  7. "components": {
  8. "xr-standard-trigger": {
  9. "type": "trigger",
  10. "gamepadIndices": {
  11. "button": 0
  12. },
  13. "rootNodeName": "xr_standard_trigger",
  14. "visualResponses": {
  15. "xr_standard_trigger_pressed": {
  16. "componentProperty": "button",
  17. "states": [
  18. "default",
  19. "touched",
  20. "pressed"
  21. ],
  22. "valueNodeProperty": "transform",
  23. "valueNodeName": "xr_standard_trigger_pressed_value",
  24. "minNodeName": "xr_standard_trigger_pressed_min",
  25. "maxNodeName": "xr_standard_trigger_pressed_max"
  26. }
  27. }
  28. },
  29. "xr-standard-thumbstick": {
  30. "type": "thumbstick",
  31. "gamepadIndices": {
  32. "button": 3,
  33. "xAxis": 2,
  34. "yAxis": 3
  35. },
  36. "rootNodeName": "xr_standard_thumbstick",
  37. "visualResponses": {
  38. "xr_standard_thumbstick_pressed": {
  39. "componentProperty": "button",
  40. "states": [
  41. "default",
  42. "touched",
  43. "pressed"
  44. ],
  45. "valueNodeProperty": "transform",
  46. "valueNodeName": "xr_standard_thumbstick_pressed_value",
  47. "minNodeName": "xr_standard_thumbstick_pressed_min",
  48. "maxNodeName": "xr_standard_thumbstick_pressed_max"
  49. },
  50. "xr_standard_thumbstick_xaxis_pressed": {
  51. "componentProperty": "xAxis",
  52. "states": [
  53. "default",
  54. "touched",
  55. "pressed"
  56. ],
  57. "valueNodeProperty": "transform",
  58. "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
  59. "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
  60. "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
  61. },
  62. "xr_standard_thumbstick_yaxis_pressed": {
  63. "componentProperty": "yAxis",
  64. "states": [
  65. "default",
  66. "touched",
  67. "pressed"
  68. ],
  69. "valueNodeProperty": "transform",
  70. "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
  71. "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
  72. "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
  73. }
  74. }
  75. }
  76. },
  77. "gamepadMapping": "xr-standard",
  78. "rootNodeName": "generic-trigger-thumbstick-left",
  79. "assetPath": "left.glb"
  80. },
  81. "right": {
  82. "selectComponentId": "xr-standard-trigger",
  83. "components": {
  84. "xr-standard-trigger": {
  85. "type": "trigger",
  86. "gamepadIndices": {
  87. "button": 0
  88. },
  89. "rootNodeName": "xr_standard_trigger",
  90. "visualResponses": {
  91. "xr_standard_trigger_pressed": {
  92. "componentProperty": "button",
  93. "states": [
  94. "default",
  95. "touched",
  96. "pressed"
  97. ],
  98. "valueNodeProperty": "transform",
  99. "valueNodeName": "xr_standard_trigger_pressed_value",
  100. "minNodeName": "xr_standard_trigger_pressed_min",
  101. "maxNodeName": "xr_standard_trigger_pressed_max"
  102. }
  103. }
  104. },
  105. "xr-standard-thumbstick": {
  106. "type": "thumbstick",
  107. "gamepadIndices": {
  108. "button": 3,
  109. "xAxis": 2,
  110. "yAxis": 3
  111. },
  112. "rootNodeName": "xr_standard_thumbstick",
  113. "visualResponses": {
  114. "xr_standard_thumbstick_pressed": {
  115. "componentProperty": "button",
  116. "states": [
  117. "default",
  118. "touched",
  119. "pressed"
  120. ],
  121. "valueNodeProperty": "transform",
  122. "valueNodeName": "xr_standard_thumbstick_pressed_value",
  123. "minNodeName": "xr_standard_thumbstick_pressed_min",
  124. "maxNodeName": "xr_standard_thumbstick_pressed_max"
  125. },
  126. "xr_standard_thumbstick_xaxis_pressed": {
  127. "componentProperty": "xAxis",
  128. "states": [
  129. "default",
  130. "touched",
  131. "pressed"
  132. ],
  133. "valueNodeProperty": "transform",
  134. "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
  135. "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
  136. "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
  137. },
  138. "xr_standard_thumbstick_yaxis_pressed": {
  139. "componentProperty": "yAxis",
  140. "states": [
  141. "default",
  142. "touched",
  143. "pressed"
  144. ],
  145. "valueNodeProperty": "transform",
  146. "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
  147. "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
  148. "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
  149. }
  150. }
  151. }
  152. },
  153. "gamepadMapping": "xr-standard",
  154. "rootNodeName": "generic-trigger-thumbstick-right",
  155. "assetPath": "right.glb"
  156. },
  157. "none": {
  158. "selectComponentId": "xr-standard-trigger",
  159. "components": {
  160. "xr-standard-trigger": {
  161. "type": "trigger",
  162. "gamepadIndices": {
  163. "button": 0
  164. },
  165. "rootNodeName": "xr_standard_trigger",
  166. "visualResponses": {
  167. "xr_standard_trigger_pressed": {
  168. "componentProperty": "button",
  169. "states": [
  170. "default",
  171. "touched",
  172. "pressed"
  173. ],
  174. "valueNodeProperty": "transform",
  175. "valueNodeName": "xr_standard_trigger_pressed_value",
  176. "minNodeName": "xr_standard_trigger_pressed_min",
  177. "maxNodeName": "xr_standard_trigger_pressed_max"
  178. }
  179. }
  180. },
  181. "xr-standard-thumbstick": {
  182. "type": "thumbstick",
  183. "gamepadIndices": {
  184. "button": 3,
  185. "xAxis": 2,
  186. "yAxis": 3
  187. },
  188. "rootNodeName": "xr_standard_thumbstick",
  189. "visualResponses": {
  190. "xr_standard_thumbstick_pressed": {
  191. "componentProperty": "button",
  192. "states": [
  193. "default",
  194. "touched",
  195. "pressed"
  196. ],
  197. "valueNodeProperty": "transform",
  198. "valueNodeName": "xr_standard_thumbstick_pressed_value",
  199. "minNodeName": "xr_standard_thumbstick_pressed_min",
  200. "maxNodeName": "xr_standard_thumbstick_pressed_max"
  201. },
  202. "xr_standard_thumbstick_xaxis_pressed": {
  203. "componentProperty": "xAxis",
  204. "states": [
  205. "default",
  206. "touched",
  207. "pressed"
  208. ],
  209. "valueNodeProperty": "transform",
  210. "valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
  211. "minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
  212. "maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
  213. },
  214. "xr_standard_thumbstick_yaxis_pressed": {
  215. "componentProperty": "yAxis",
  216. "states": [
  217. "default",
  218. "touched",
  219. "pressed"
  220. ],
  221. "valueNodeProperty": "transform",
  222. "valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
  223. "minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
  224. "maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
  225. }
  226. }
  227. }
  228. },
  229. "gamepadMapping": "xr-standard",
  230. "rootNodeName": "generic-trigger-thumbstick-none",
  231. "assetPath": "none.glb"
  232. }
  233. }
  234. }