0031668: Visualization - WebGL sample doesn't work on Emscripten 1.39
[occt.git] / src / XRResources / occtvr_actions.json
1 {
2   "actions": [
3     {
4       "name": "/actions/generic_head/in/headset_on_head",
5       "type": "boolean",
6       "requirement": "optional"
7     },
8     {
9       "name": "/actions/generic_left/in/pose_base",
10       "type": "pose"
11     },
12     {
13       "name": "/actions/generic_right/in/pose_base",
14       "type": "pose"
15     },
16     {
17       "name": "/actions/generic_left/in/pose_front",
18       "type": "pose"
19     },
20     {
21       "name": "/actions/generic_right/in/pose_front",
22       "type": "pose"
23     },
24     {
25       "name": "/actions/generic_left/in/pose_handgrip",
26       "type": "pose"
27     },
28     {
29       "name": "/actions/generic_right/in/pose_handgrip",
30       "type": "pose"
31     },
32     {
33       "name": "/actions/generic_left/in/pose_tip",
34       "type": "pose"
35     },
36     {
37       "name": "/actions/generic_right/in/pose_tip",
38       "type": "pose"
39     },
40     {
41       "name": "/actions/generic_left/out/haptic",
42       "type": "vibration"
43     },
44     {
45       "name": "/actions/generic_right/out/haptic",
46       "type": "vibration"
47     },
48     {
49       "name": "/actions/generic_left/in/appmenu_click",
50       "type": "boolean"
51     },
52     {
53       "name": "/actions/generic_right/in/appmenu_click",
54       "type": "boolean"
55     },
56     {
57       "name": "/actions/generic_left/in/sysmenu_click",
58       "type": "boolean",
59       "requirement": "optional"
60     },
61     {
62       "name": "/actions/generic_right/in/sysmenu_click",
63       "type": "boolean",
64       "requirement": "optional"
65     },
66     {
67       "name": "/actions/generic_left/in/trigger_click",
68       "type": "boolean"
69     },
70     {
71       "name": "/actions/generic_right/in/trigger_click",
72       "type": "boolean"
73     },
74     {
75       "name": "/actions/generic_left/in/trigger_pull",
76       "type": "vector1"
77     },
78     {
79       "name": "/actions/generic_right/in/trigger_pull",
80       "type": "vector1"
81     },
82     {
83       "name": "/actions/generic_left/in/grip_click",
84       "type": "boolean"
85     },
86     {
87       "name": "/actions/generic_right/in/grip_click",
88       "type": "boolean"
89     },
90     {
91       "name": "/actions/generic_left/in/trackpad_position",
92       "type": "vector2"
93     },
94     {
95       "name": "/actions/generic_right/in/trackpad_position",
96       "type": "vector2"
97     },
98     {
99       "name": "/actions/generic_left/in/trackpad_touch",
100       "type": "boolean"
101     },
102     {
103       "name": "/actions/generic_right/in/trackpad_touch",
104       "type": "boolean"
105     },
106     {
107       "name": "/actions/generic_left/in/trackpad_click",
108       "type": "boolean"
109     },
110     {
111       "name": "/actions/generic_right/in/trackpad_click",
112       "type": "boolean"
113     },
114         {
115       "name": "/actions/generic_left/in/thumbstick_position",
116       "type": "vector2"
117     },
118     {
119       "name": "/actions/generic_right/in/thumbstick_position",
120       "type": "vector2"
121     },
122     {
123       "name": "/actions/generic_left/in/thumbstick_touch",
124       "type": "boolean"
125     },
126     {
127       "name": "/actions/generic_right/in/thumbstick_touch",
128       "type": "boolean"
129     },
130     {
131       "name": "/actions/generic_left/in/thumbstick_click",
132       "type": "boolean"
133     },
134     {
135       "name": "/actions/generic_right/in/thumbstick_click",
136       "type": "boolean"
137     }
138   ],
139   "action_sets": [
140     {
141       "name": "/actions/generic_head",
142       "usage": "single"
143     },
144     {
145       "name": "/actions/generic_left",
146       "usage": "leftright"
147     },
148     {
149       "name": "/actions/generic_right",
150       "usage": "leftright"
151     }
152   ],
153   "default_bindings": [
154     {
155       "controller_type": "vive_controller",
156       "binding_url": "occtvr_bindings_vive_controller.json"
157     },
158     {
159       "controller_type": "generic",
160       "binding_url": "occtvr_bindings_generic.json"
161     },
162     {
163       "controller_type": "holographic_controller",
164       "binding_url": "occtvr_bindings_holographic_hmd.json"
165     },
166     {
167       "controller_type": "indexhmd",
168       "binding_url": "occtvr_bindings_index_hmd.json"
169     },
170     {
171       "controller_type": "rift",
172       "binding_url": "occtvr_bindings_rift.json"
173     },
174     {
175       "controller_type": "vive",
176       "binding_url": "occtvr_bindings_vive.json"
177     },
178     {
179       "controller_type": "vive_cosmos",
180       "binding_url": "occtvr_bindings_vive_cosmos.json"
181     },
182     {
183       "controller_type": "vive_pro",
184       "binding_url": "occtvr_bindings_vive_pro.json"
185     }
186   ],
187   "localization": [
188     {
189       "language_tag": "en_US",
190       "/actions/generic_head/in/headset_on_head":      "Headset is on head",
191       "/actions/generic_left/in/appmenu_click":        "Left app menu",
192       "/actions/generic_left/in/sysmenu_click":        "Left system menu",
193       "/actions/generic_left/in/trigger_click":        "Left trigger click",
194       "/actions/generic_left/in/trigger_pull":         "Left trigger squeeze",
195       "/actions/generic_left/in/grip_click":           "Left hand full grip",
196       "/actions/generic_left/in/pose_base":            "Left hand base",
197       "/actions/generic_left/in/pose_front":           "Left hand front",
198       "/actions/generic_left/in/pose_handgrip":        "Left handgrip pose",
199       "/actions/generic_left/in/pose_tip":             "Left forefinger tip",
200       "/actions/generic_left/in/trackpad_position":    "Left trackpad position",
201       "/actions/generic_left/in/trackpad_touch":       "Left trackpad touch",
202       "/actions/generic_left/in/trackpad_click":       "Left trackpad click",
203       "/actions/generic_left/in/thumbstick_position":  "Left thumbstick position",
204       "/actions/generic_left/in/thumbstick_touch":     "Left thumbstick touch",
205       "/actions/generic_left/in/thumbstick_click":     "Left thumbstick click",
206       "/actions/generic_left/out/haptic":              "Left hand haptic",
207       "/actions/generic_right/in/appmenu_click":       "Right app menu",
208       "/actions/generic_right/in/sysmenu_click":       "Right system menu",
209       "/actions/generic_right/in/trigger_click":       "Right trigger click",
210       "/actions/generic_right/in/trigger_pull":        "Right trigger squeeze",
211       "/actions/generic_right/in/grip_click":          "Right hand full grip",
212       "/actions/generic_right/in/pose_base":           "Right hand base",
213       "/actions/generic_right/in/pose_front":          "Right hand front",
214       "/actions/generic_right/in/pose_handgrip":       "Right handgrip pose",
215       "/actions/generic_right/in/pose_tip":            "Right forefinger tip",
216       "/actions/generic_right/in/trackpad_position":   "Right trackpad position",
217       "/actions/generic_right/in/trackpad_touch":      "Right trackpad touch",
218       "/actions/generic_right/in/trackpad_click":      "Right trackpad click",
219       "/actions/generic_right/in/thumbstick_position": "Right thumbstick position",
220       "/actions/generic_right/in/thumbstick_touch":    "Right thumbstick touch",
221       "/actions/generic_right/in/thumbstick_click":    "Right thumbstick click",
222       "/actions/generic_right/out/haptic":             "Right hand haptic"
223     }
224   ]
225 }