b40cdc2b |
1 | { |
2 | "bindings": { |
3 | "/actions/generic_left": { |
4 | "haptics": [ |
5 | { |
6 | "output": "/actions/generic_left/out/haptic", |
7 | "path": "/user/hand/left/output/haptic" |
8 | } |
9 | ], |
10 | "poses": [ |
11 | { |
12 | "output": "/actions/generic_left/in/pose_base", |
13 | "path": "/user/hand/left/pose/base" |
14 | }, |
15 | { |
16 | "output": "/actions/generic_left/in/pose_front", |
17 | "path": "/user/hand/left/pose/front" |
18 | }, |
19 | { |
20 | "output": "/actions/generic_left/in/pose_handgrip", |
21 | "path": "/user/hand/left/pose/handgrip" |
22 | }, |
23 | { |
24 | "output": "/actions/generic_left/in/pose_tip", |
25 | "path": "/user/hand/left/pose/tip" |
26 | } |
27 | ], |
28 | "sources": [ |
29 | { |
30 | "inputs": { |
31 | "click": { "output": "/actions/generic_left/in/appmenu_click" } |
32 | }, |
33 | "mode": "button", |
34 | "path": "/user/hand/left/input/application_menu" |
35 | }, |
36 | { |
37 | "inputs": { |
38 | "click": { "output": "/actions/generic_left/in/trigger_click" }, |
39 | "pull": { "output": "/actions/generic_left/in/trigger_pull" } |
40 | }, |
41 | "mode": "trigger", |
42 | "path": "/user/hand/left/input/trigger" |
43 | }, |
44 | { |
45 | "inputs": { |
46 | "click": { "output": "/actions/generic_left/in/trackpad_click" }, |
47 | "touch": { "output": "/actions/generic_left/in/trackpad_touch" }, |
48 | "position": { "output": "/actions/generic_left/in/trackpad_position" } |
49 | }, |
50 | "mode": "trackpad", |
51 | "path": "/user/hand/left/input/trackpad" |
52 | }, |
53 | { |
54 | "inputs": { |
55 | "click": { "output": "/actions/generic_left/in/grip_click" } |
56 | }, |
57 | "mode": "button", |
58 | "path": "/user/hand/left/input/grip" |
59 | }, |
60 | { |
61 | "inputs": { |
62 | "click": { "output": "/actions/generic_left/in/sysmenu_click" } |
63 | }, |
64 | "mode": "button", |
65 | "path": "/user/hand/left/input/system" |
66 | } |
67 | ] |
68 | }, |
69 | "/actions/generic_right": { |
70 | "haptics": [ |
71 | { |
72 | "output": "/actions/generic_right/out/haptic", |
73 | "path": "/user/hand/right/output/haptic" |
74 | } |
75 | ], |
76 | "poses": [ |
77 | { |
78 | "output": "/actions/generic_right/in/pose_base", |
79 | "path": "/user/hand/right/pose/base" |
80 | }, |
81 | { |
82 | "output": "/actions/generic_right/in/pose_front", |
83 | "path": "/user/hand/right/pose/front" |
84 | }, |
85 | { |
86 | "output": "/actions/generic_right/in/pose_handgrip", |
87 | "path": "/user/hand/right/pose/handgrip" |
88 | }, |
89 | { |
90 | "output": "/actions/generic_right/in/pose_tip", |
91 | "path": "/user/hand/right/pose/tip" |
92 | } |
93 | ], |
94 | "sources": [ |
95 | { |
96 | "inputs": { |
97 | "click": { "output": "/actions/generic_right/in/appmenu_click" } |
98 | }, |
99 | "mode": "button", |
100 | "path": "/user/hand/right/input/application_menu" |
101 | }, |
102 | { |
103 | "inputs": { |
104 | "click": { "output": "/actions/generic_right/in/trigger_click" }, |
105 | "pull": { "output": "/actions/generic_right/in/trigger_pull" } |
106 | }, |
107 | "mode": "trigger", |
108 | "path": "/user/hand/right/input/trigger" |
109 | }, |
110 | { |
111 | "inputs": { |
112 | "click": { "output": "/actions/generic_right/in/trackpad_click" }, |
113 | "touch": { "output": "/actions/generic_right/in/trackpad_touch" }, |
114 | "position": { "output": "/actions/generic_right/in/trackpad_position" } |
115 | }, |
116 | "mode": "trackpad", |
117 | "path": "/user/hand/right/input/trackpad" |
118 | }, |
119 | { |
120 | "inputs": { |
121 | "click": { "output": "/actions/generic_right/in/grip_click" } |
122 | }, |
123 | "mode": "button", |
124 | "path": "/user/hand/right/input/grip" |
125 | }, |
126 | { |
127 | "inputs": { |
128 | "click": { "output": "/actions/generic_right/in/sysmenu_click" } |
129 | }, |
130 | "mode": "button", |
131 | "path": "/user/hand/right/input/system" |
132 | } |
133 | ] |
134 | } |
135 | }, |
136 | "controller_type": "vive_controller", |
137 | "description": "Standard Open CASCADE Technology VR bindings for the Vive controller", |
138 | "name": "OCCT VR bindings for the Vive controller" |
139 | } |