1
0

bindings_logitech_stylus.json 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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/primary"
  13. },
  14. {
  15. "inputs" : {
  16. "pull" : {
  17. "output" : "/actions/buggy/in/throttle"
  18. }
  19. },
  20. "mode" : "trigger",
  21. "path" : "/user/hand/right/input/primary"
  22. },
  23. {
  24. "inputs" : {
  25. "click" : {
  26. "output" : "/actions/buggy/in/brake"
  27. },
  28. "position" : {
  29. "output" : "/actions/buggy/in/steering"
  30. }
  31. },
  32. "mode" : "trackpad",
  33. "path" : "/user/hand/left/input/touchstrip"
  34. },
  35. {
  36. "inputs" : {
  37. "click" : {
  38. "output" : "/actions/buggy/in/brake"
  39. },
  40. "position" : {
  41. "output" : "/actions/buggy/in/steering"
  42. }
  43. },
  44. "mode" : "trackpad",
  45. "path" : "/user/hand/right/input/touchstrip"
  46. },
  47. {
  48. "inputs" : {
  49. "click" : {
  50. "output" : "/actions/buggy/in/reset"
  51. }
  52. },
  53. "mode" : "button",
  54. "path" : "/user/hand/left/input/menu"
  55. },
  56. {
  57. "inputs" : {
  58. "click" : {
  59. "output" : "/actions/buggy/in/reset"
  60. }
  61. },
  62. "mode" : "button",
  63. "path" : "/user/hand/right/input/menu"
  64. }
  65. ]
  66. },
  67. "/actions/default" : {
  68. "chords" : [],
  69. "haptics" : [
  70. {
  71. "output" : "/actions/default/out/haptic",
  72. "path" : "/user/hand/left/output/haptic"
  73. },
  74. {
  75. "output" : "/actions/default/out/haptic",
  76. "path" : "/user/hand/right/output/haptic"
  77. }
  78. ],
  79. "poses" : [
  80. {
  81. "output" : "/actions/default/in/pose",
  82. "path" : "/user/hand/left/pose/raw"
  83. },
  84. {
  85. "output" : "/actions/default/in/pose",
  86. "path" : "/user/hand/right/pose/raw"
  87. }
  88. ],
  89. "sources": [
  90. {
  91. "inputs": {
  92. "click": {
  93. "output": "/actions/default/in/interactui"
  94. }
  95. },
  96. "mode": "button",
  97. "path": "/user/hand/left/input/primary"
  98. },
  99. {
  100. "inputs": {
  101. "click": {
  102. "output": "/actions/default/in/grabgrip"
  103. }
  104. },
  105. "mode": "button",
  106. "path": "/user/hand/left/input/grip"
  107. },
  108. {
  109. "inputs": {
  110. "click": {
  111. "output": "/actions/default/in/grabpinch"
  112. }
  113. },
  114. "mode": "button",
  115. "parameters": {
  116. "click_activate_threshold": "0.75",
  117. "click_deactivate_threshold": "0.7",
  118. "force_input": "value"
  119. },
  120. "path": "/user/hand/left/input/primary"
  121. },
  122. {
  123. "inputs": {
  124. "click": {
  125. "output": "/actions/default/in/interactui"
  126. }
  127. },
  128. "mode": "button",
  129. "path": "/user/hand/right/input/primary"
  130. },
  131. {
  132. "inputs": {
  133. "click": {
  134. "output": "/actions/default/in/grabpinch"
  135. }
  136. },
  137. "mode": "button",
  138. "parameters": {
  139. "click_activate_threshold": "0.75",
  140. "click_deactivate_threshold": "0.7"
  141. },
  142. "path": "/user/hand/right/input/primary"
  143. },
  144. {
  145. "inputs": {
  146. "center": {
  147. "output": "/actions/default/in/teleport"
  148. },
  149. "east": {
  150. "output": "/actions/default/in/snapturnright"
  151. },
  152. "north": {
  153. "output": "/actions/default/in/teleport"
  154. },
  155. "south": {
  156. "output": "/actions/default/in/teleport"
  157. },
  158. "west": {
  159. "output": "/actions/default/in/snapturnleft"
  160. }
  161. },
  162. "mode": "dpad",
  163. "parameters": {
  164. "deadzone_pct": "90",
  165. "overlap_pct": "15",
  166. "sub_mode": "click"
  167. },
  168. "path": "/user/hand/left/input/touchstrip"
  169. },
  170. {
  171. "inputs": {
  172. "center": {
  173. "output": "/actions/default/in/teleport"
  174. },
  175. "east": {
  176. "output": "/actions/default/in/snapturnright"
  177. },
  178. "north": {
  179. "output": "/actions/default/in/teleport"
  180. },
  181. "south": {
  182. "output": "/actions/default/in/teleport"
  183. },
  184. "west": {
  185. "output": "/actions/default/in/snapturnleft"
  186. }
  187. },
  188. "mode": "dpad",
  189. "parameters": {
  190. "deadzone_pct": "90",
  191. "overlap_pct": "15",
  192. "sub_mode": "click"
  193. },
  194. "path": "/user/hand/right/input/touchstrip"
  195. },
  196. {
  197. "inputs": {
  198. "click": {
  199. "output": "/actions/default/in/grabgrip"
  200. }
  201. },
  202. "mode": "button",
  203. "path": "/user/hand/right/input/grip"
  204. },
  205. {
  206. "inputs": {
  207. "pull": {
  208. "output": "/actions/default/in/squeeze"
  209. }
  210. },
  211. "mode": "trigger",
  212. "path": "/user/hand/left/input/tip"
  213. },
  214. {
  215. "inputs": {
  216. "pull": {
  217. "output": "/actions/default/in/squeeze"
  218. }
  219. },
  220. "mode": "trigger",
  221. "path": "/user/hand/right/input/tip"
  222. }
  223. ]
  224. },
  225. "/actions/platformer" : {
  226. "sources" : [
  227. {
  228. "inputs" : {
  229. "click" : {
  230. "output" : "/actions/platformer/in/jump"
  231. }
  232. },
  233. "mode" : "button",
  234. "path" : "/user/hand/left/input/touchstrip"
  235. },
  236. {
  237. "inputs" : {
  238. "click" : {
  239. "output" : "/actions/platformer/in/jump"
  240. }
  241. },
  242. "mode" : "button",
  243. "path" : "/user/hand/right/input/touchstrip"
  244. },
  245. {
  246. "inputs" : {
  247. "position" : {
  248. "output" : "/actions/platformer/in/move"
  249. }
  250. },
  251. "mode" : "trackpad",
  252. "path" : "/user/hand/left/input/touchstrip"
  253. },
  254. {
  255. "inputs" : {
  256. "position" : {
  257. "output" : "/actions/platformer/in/move"
  258. }
  259. },
  260. "mode" : "trackpad",
  261. "path" : "/user/hand/right/input/touchstrip"
  262. }
  263. ]
  264. }
  265. },
  266. "controller_type" : "vive_controller",
  267. "description" : "",
  268. "name" : "vive_controller"
  269. }