2
0

bindings_holographic_controller.json 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. {
  2. "bindings" : {
  3. "/actions/buggy" : {
  4. "sources" : [
  5. {
  6. "inputs" : {
  7. "pull" : {
  8. "output" : "/actions/buggy/in/throttle"
  9. }
  10. },
  11. "mode" : "trigger",
  12. "path" : "/user/hand/left/input/trigger"
  13. },
  14. {
  15. "inputs" : {
  16. "pull" : {
  17. "output" : "/actions/buggy/in/throttle"
  18. }
  19. },
  20. "mode" : "trigger",
  21. "path" : "/user/hand/right/input/trigger"
  22. },
  23. {
  24. "inputs" : {
  25. "position" : {
  26. "output" : "/actions/buggy/in/steering"
  27. }
  28. },
  29. "mode" : "joystick",
  30. "path" : "/user/hand/left/input/joystick"
  31. },
  32. {
  33. "inputs" : {
  34. "position" : {
  35. "output" : "/actions/buggy/in/steering"
  36. }
  37. },
  38. "mode" : "joystick",
  39. "path" : "/user/hand/right/input/joystick"
  40. },
  41. {
  42. "inputs" : {
  43. "click" : {
  44. "output" : "/actions/buggy/in/reset"
  45. }
  46. },
  47. "mode" : "button",
  48. "path" : "/user/hand/left/input/trackpad"
  49. },
  50. {
  51. "inputs" : {
  52. "click" : {
  53. "output" : "/actions/buggy/in/reset"
  54. }
  55. },
  56. "mode" : "button",
  57. "path" : "/user/hand/right/input/trackpad"
  58. },
  59. {
  60. "inputs" : {
  61. "click" : {
  62. "output" : "/actions/buggy/in/brake"
  63. }
  64. },
  65. "mode" : "button",
  66. "path" : "/user/hand/left/input/trackpad"
  67. },
  68. {
  69. "inputs" : {
  70. "click" : {
  71. "output" : "/actions/buggy/in/brake"
  72. }
  73. },
  74. "mode" : "button",
  75. "path" : "/user/hand/right/input/trackpad"
  76. }
  77. ]
  78. },
  79. "/actions/default" : {
  80. "haptics" : [
  81. {
  82. "output" : "/actions/default/out/haptic",
  83. "path" : "/user/hand/left/output/haptic"
  84. },
  85. {
  86. "output" : "/actions/default/out/haptic",
  87. "path" : "/user/hand/right/output/haptic"
  88. }
  89. ],
  90. "poses" : [
  91. {
  92. "output" : "/actions/default/in/pose",
  93. "path" : "/user/hand/left/pose/raw"
  94. },
  95. {
  96. "output" : "/actions/default/in/pose",
  97. "path" : "/user/hand/right/pose/raw"
  98. }
  99. ],
  100. "sources": [
  101. {
  102. "inputs": {
  103. "click": {
  104. "output": "/actions/default/in/interactui"
  105. }
  106. },
  107. "mode": "button",
  108. "path": "/user/hand/left/input/trigger"
  109. },
  110. {
  111. "inputs": {
  112. "click": {
  113. "output": "/actions/default/in/interactui"
  114. }
  115. },
  116. "mode": "button",
  117. "path": "/user/hand/right/input/trigger"
  118. },
  119. {
  120. "inputs": {
  121. "click": {
  122. "output": "/actions/default/in/grabpinch"
  123. }
  124. },
  125. "mode": "button",
  126. "parameters": {
  127. "click_activate_threshold": "0.95",
  128. "click_deactivate_threshold": "0.9"
  129. },
  130. "path": "/user/hand/left/input/trigger"
  131. },
  132. {
  133. "inputs": {
  134. "click": {
  135. "output": "/actions/default/in/grabpinch"
  136. }
  137. },
  138. "mode": "button",
  139. "parameters": {
  140. "click_activate_threshold": "0.95",
  141. "click_deactivate_threshold": "0.9"
  142. },
  143. "path": "/user/hand/right/input/trigger"
  144. },
  145. {
  146. "inputs": {
  147. "click": {
  148. "output": "/actions/default/in/grabgrip"
  149. }
  150. },
  151. "mode": "button",
  152. "path": "/user/hand/left/input/grip"
  153. },
  154. {
  155. "inputs": {
  156. "click": {
  157. "output": "/actions/default/in/grabgrip"
  158. }
  159. },
  160. "mode": "button",
  161. "path": "/user/hand/right/input/grip"
  162. },
  163. {
  164. "inputs": {
  165. "pull": {
  166. "output": "/actions/default/in/squeeze"
  167. }
  168. },
  169. "mode": "trigger",
  170. "path": "/user/hand/left/input/trigger"
  171. },
  172. {
  173. "inputs": {
  174. "pull": {
  175. "output": "/actions/default/in/squeeze"
  176. }
  177. },
  178. "mode": "trigger",
  179. "path": "/user/hand/right/input/trigger"
  180. },
  181. {
  182. "inputs": {
  183. "click": {
  184. "output": "/actions/default/in/teleport"
  185. }
  186. },
  187. "mode": "button",
  188. "path": "/user/hand/left/input/trackpad"
  189. },
  190. {
  191. "inputs": {
  192. "click": {
  193. "output": "/actions/default/in/teleport"
  194. }
  195. },
  196. "mode": "button",
  197. "path": "/user/hand/right/input/trackpad"
  198. },
  199. {
  200. "inputs": {
  201. "north": {
  202. "output": "/actions/default/in/teleport"
  203. }
  204. },
  205. "mode": "dpad",
  206. "parameters": {
  207. "deadzone_pct": "25",
  208. "overlap_pct": "30",
  209. "sub_mode": "touch"
  210. },
  211. "path": "/user/hand/left/input/joystick"
  212. },
  213. {
  214. "inputs": {
  215. "north": {
  216. "output": "/actions/default/in/teleport"
  217. }
  218. },
  219. "mode": "dpad",
  220. "parameters": {
  221. "deadzone_pct": "25",
  222. "overlap_pct": "30",
  223. "sub_mode": "touch"
  224. },
  225. "path": "/user/hand/right/input/joystick"
  226. },
  227. {
  228. "inputs": {
  229. "east": {
  230. "output": "/actions/default/in/snapturnright"
  231. },
  232. "west": {
  233. "output": "/actions/default/in/snapturnleft"
  234. }
  235. },
  236. "mode": "dpad",
  237. "parameters": {
  238. "deadzone_pct": "85",
  239. "overlap_pct": "0",
  240. "sub_mode": "touch"
  241. },
  242. "path": "/user/hand/left/input/joystick"
  243. },
  244. {
  245. "inputs": {
  246. "east": {
  247. "output": "/actions/default/in/snapturnright"
  248. },
  249. "west": {
  250. "output": "/actions/default/in/snapturnleft"
  251. }
  252. },
  253. "mode": "dpad",
  254. "parameters": {
  255. "deadzone_pct": "85",
  256. "overlap_pct": "0",
  257. "sub_mode": "touch"
  258. },
  259. "path": "/user/hand/right/input/joystick"
  260. }
  261. ]
  262. },
  263. "/actions/platformer" : {
  264. "sources" : [
  265. {
  266. "inputs" : {
  267. "click" : {
  268. "output" : "/actions/platformer/in/jump"
  269. }
  270. },
  271. "mode" : "button",
  272. "path" : "/user/hand/left/input/trigger"
  273. },
  274. {
  275. "inputs" : {
  276. "click" : {
  277. "output" : "/actions/platformer/in/jump"
  278. }
  279. },
  280. "mode" : "button",
  281. "path" : "/user/hand/right/input/trigger"
  282. },
  283. {
  284. "inputs" : {
  285. "position" : {
  286. "output" : "/actions/platformer/in/move"
  287. }
  288. },
  289. "mode" : "joystick",
  290. "path" : "/user/hand/left/input/joystick"
  291. },
  292. {
  293. "inputs" : {
  294. "position" : {
  295. "output" : "/actions/platformer/in/move"
  296. }
  297. },
  298. "mode" : "joystick",
  299. "path" : "/user/hand/right/input/joystick"
  300. }
  301. ]
  302. }
  303. },
  304. "controller_type" : "holographic_controller",
  305. "description" : "",
  306. "name" : "Default bindings for Windows Mixed Reality Controllers"
  307. }