bindings_knuckles.json 9.2 KB

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