bindings_oculus_touch.json 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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/teleport"
  143. }
  144. },
  145. "mode" : "button",
  146. "path" : "/user/hand/left/input/joystick"
  147. },
  148. {
  149. "inputs" : {
  150. "click" : {
  151. "output" : "/actions/default/in/grabgrip"
  152. }
  153. },
  154. "mode" : "button",
  155. "parameters" : {
  156. "click_activate_threshold" : "0.8",
  157. "click_deactivate_threshold" : "0.7",
  158. "force_input" : "force"
  159. },
  160. "path" : "/user/hand/left/input/grip"
  161. },
  162. {
  163. "inputs" : {
  164. "click" : {
  165. "output" : "/actions/default/in/grabpinch"
  166. }
  167. },
  168. "mode" : "button",
  169. "parameters" : {
  170. "click_activate_threshold" : "0.8",
  171. "click_deactivate_threshold" : "0.7",
  172. "force_input" : "value"
  173. },
  174. "path" : "/user/hand/left/input/trigger"
  175. },
  176. {
  177. "inputs" : {
  178. "click" : {
  179. "output" : "/actions/default/in/interactui"
  180. }
  181. },
  182. "mode" : "button",
  183. "path" : "/user/hand/right/input/trigger"
  184. },
  185. {
  186. "inputs" : {
  187. "click" : {
  188. "output" : "/actions/default/in/grabpinch"
  189. }
  190. },
  191. "mode" : "button",
  192. "parameters" : {
  193. "click_activate_threshold" : "0.8",
  194. "click_deactivate_threshold" : "0.7"
  195. },
  196. "path" : "/user/hand/right/input/trigger"
  197. },
  198. {
  199. "inputs" : {
  200. "click" : {
  201. "output" : "/actions/default/in/teleport"
  202. }
  203. },
  204. "mode" : "button",
  205. "path" : "/user/hand/right/input/joystick"
  206. },
  207. {
  208. "inputs" : {
  209. "click" : {
  210. "output" : "/actions/default/in/grabgrip"
  211. }
  212. },
  213. "mode" : "button",
  214. "parameters" : {
  215. "click_activate_threshold" : "0.8",
  216. "click_deactivate_threshold" : "0.7",
  217. "force_input" : "force"
  218. },
  219. "path" : "/user/hand/right/input/grip"
  220. },
  221. {
  222. "inputs" : {
  223. "pull" : {
  224. "output" : "/actions/default/in/squeeze"
  225. }
  226. },
  227. "mode" : "trigger",
  228. "path" : "/user/hand/left/input/grip"
  229. },
  230. {
  231. "inputs" : {
  232. "pull" : {
  233. "output" : "/actions/default/in/squeeze"
  234. }
  235. },
  236. "mode" : "trigger",
  237. "path" : "/user/hand/right/input/grip"
  238. }
  239. ]
  240. },
  241. "/actions/platformer" : {
  242. "sources" : [
  243. {
  244. "inputs" : {
  245. "click" : {
  246. "output" : "/actions/platformer/in/jump"
  247. },
  248. "position" : {
  249. "output" : "/actions/platformer/in/move"
  250. }
  251. },
  252. "mode" : "joystick",
  253. "path" : "/user/hand/left/input/joystick"
  254. },
  255. {
  256. "inputs" : {
  257. "click" : {
  258. "output" : "/actions/platformer/in/jump"
  259. },
  260. "position" : {
  261. "output" : "/actions/platformer/in/move"
  262. }
  263. },
  264. "mode" : "joystick",
  265. "path" : "/user/hand/right/input/joystick"
  266. }
  267. ]
  268. }
  269. },
  270. "controller_type" : "oculus_touch",
  271. "description" : "",
  272. "name" : "oculus_touch"
  273. }