1
0

profile.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. {
  2. "profileId": "generic-trigger-squeeze",
  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-squeeze": {
  30. "type": "squeeze",
  31. "gamepadIndices": {
  32. "button": 1
  33. },
  34. "rootNodeName": "xr_standard_squeeze",
  35. "visualResponses": {
  36. "xr_standard_squeeze_pressed": {
  37. "componentProperty": "button",
  38. "states": [
  39. "default",
  40. "touched",
  41. "pressed"
  42. ],
  43. "valueNodeProperty": "transform",
  44. "valueNodeName": "xr_standard_squeeze_pressed_value",
  45. "minNodeName": "xr_standard_squeeze_pressed_min",
  46. "maxNodeName": "xr_standard_squeeze_pressed_max"
  47. }
  48. }
  49. }
  50. },
  51. "gamepadMapping": "xr-standard",
  52. "rootNodeName": "generic-trigger-squeeze-left",
  53. "assetPath": "left.glb"
  54. },
  55. "right": {
  56. "selectComponentId": "xr-standard-trigger",
  57. "components": {
  58. "xr-standard-trigger": {
  59. "type": "trigger",
  60. "gamepadIndices": {
  61. "button": 0
  62. },
  63. "rootNodeName": "xr_standard_trigger",
  64. "visualResponses": {
  65. "xr_standard_trigger_pressed": {
  66. "componentProperty": "button",
  67. "states": [
  68. "default",
  69. "touched",
  70. "pressed"
  71. ],
  72. "valueNodeProperty": "transform",
  73. "valueNodeName": "xr_standard_trigger_pressed_value",
  74. "minNodeName": "xr_standard_trigger_pressed_min",
  75. "maxNodeName": "xr_standard_trigger_pressed_max"
  76. }
  77. }
  78. },
  79. "xr-standard-squeeze": {
  80. "type": "squeeze",
  81. "gamepadIndices": {
  82. "button": 1
  83. },
  84. "rootNodeName": "xr_standard_squeeze",
  85. "visualResponses": {
  86. "xr_standard_squeeze_pressed": {
  87. "componentProperty": "button",
  88. "states": [
  89. "default",
  90. "touched",
  91. "pressed"
  92. ],
  93. "valueNodeProperty": "transform",
  94. "valueNodeName": "xr_standard_squeeze_pressed_value",
  95. "minNodeName": "xr_standard_squeeze_pressed_min",
  96. "maxNodeName": "xr_standard_squeeze_pressed_max"
  97. }
  98. }
  99. }
  100. },
  101. "gamepadMapping": "xr-standard",
  102. "rootNodeName": "generic-trigger-squeeze-right",
  103. "assetPath": "right.glb"
  104. },
  105. "none": {
  106. "selectComponentId": "xr-standard-trigger",
  107. "components": {
  108. "xr-standard-trigger": {
  109. "type": "trigger",
  110. "gamepadIndices": {
  111. "button": 0
  112. },
  113. "rootNodeName": "xr_standard_trigger",
  114. "visualResponses": {
  115. "xr_standard_trigger_pressed": {
  116. "componentProperty": "button",
  117. "states": [
  118. "default",
  119. "touched",
  120. "pressed"
  121. ],
  122. "valueNodeProperty": "transform",
  123. "valueNodeName": "xr_standard_trigger_pressed_value",
  124. "minNodeName": "xr_standard_trigger_pressed_min",
  125. "maxNodeName": "xr_standard_trigger_pressed_max"
  126. }
  127. }
  128. },
  129. "xr-standard-squeeze": {
  130. "type": "squeeze",
  131. "gamepadIndices": {
  132. "button": 1
  133. },
  134. "rootNodeName": "xr_standard_squeeze",
  135. "visualResponses": {
  136. "xr_standard_squeeze_pressed": {
  137. "componentProperty": "button",
  138. "states": [
  139. "default",
  140. "touched",
  141. "pressed"
  142. ],
  143. "valueNodeProperty": "transform",
  144. "valueNodeName": "xr_standard_squeeze_pressed_value",
  145. "minNodeName": "xr_standard_squeeze_pressed_min",
  146. "maxNodeName": "xr_standard_squeeze_pressed_max"
  147. },
  148. "xr_standard_squeeze_pressed_mirror": {
  149. "componentProperty": "button",
  150. "states": [
  151. "default",
  152. "touched",
  153. "pressed"
  154. ],
  155. "valueNodeProperty": "transform",
  156. "valueNodeName": "xr_standard_squeeze_pressed_mirror_value",
  157. "minNodeName": "xr_standard_squeeze_pressed_mirror_min",
  158. "maxNodeName": "xr_standard_squeeze_pressed_mirror_max"
  159. }
  160. }
  161. }
  162. },
  163. "gamepadMapping": "xr-standard",
  164. "rootNodeName": "generic-trigger-squeeze-none",
  165. "assetPath": "none.glb"
  166. }
  167. }
  168. }