2
0

bindings_oculus_touch.json 9.0 KB

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