Skip to content

Commit 532180f

Browse files
authored
Merge pull request #276 from felixtrz/meta-quest-touch-plus-v2
Add support for meta-quest-touch-plus-v2 controllers
2 parents 20ded63 + 1fa079a commit 532180f

File tree

4 files changed

+75
-0
lines changed

4 files changed

+75
-0
lines changed
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"profileId": "meta-quest-touch-plus-v2",
3+
"overrides": {}
4+
}
Binary file not shown.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"profileId": "meta-quest-touch-plus-v2",
3+
"fallbackProfileIds": [
4+
"meta-quest-touch-plus",
5+
"oculus-touch-v3",
6+
"oculus-touch",
7+
"generic-trigger-squeeze-thumbstick"
8+
],
9+
"layouts": {
10+
"left": {
11+
"selectComponentId": "xr-standard-trigger",
12+
"components": {
13+
"xr-standard-trigger": { "type": "trigger" },
14+
"xr-standard-squeeze": { "type": "squeeze" },
15+
"xr-standard-thumbstick": { "type": "thumbstick" },
16+
"x-button": { "type": "button" },
17+
"y-button": { "type": "button" },
18+
"thumbrest": { "type": "button" },
19+
"menu": { "type": "button" }
20+
},
21+
"gamepad": {
22+
"mapping": "xr-standard",
23+
"buttons": [
24+
"xr-standard-trigger",
25+
"xr-standard-squeeze",
26+
null,
27+
"xr-standard-thumbstick",
28+
"x-button",
29+
"y-button",
30+
"thumbrest",
31+
"menu"
32+
],
33+
"axes": [
34+
null,
35+
null,
36+
{ "componentId": "xr-standard-thumbstick", "axis": "x-axis" },
37+
{ "componentId": "xr-standard-thumbstick", "axis": "y-axis" }
38+
]
39+
}
40+
},
41+
"right": {
42+
"selectComponentId": "xr-standard-trigger",
43+
"components": {
44+
"xr-standard-trigger": { "type": "trigger" },
45+
"xr-standard-squeeze": { "type": "squeeze" },
46+
"xr-standard-thumbstick": { "type": "thumbstick" },
47+
"a-button": { "type": "button" },
48+
"b-button": { "type": "button" },
49+
"thumbrest": { "type": "button" }
50+
},
51+
"gamepad": {
52+
"mapping": "xr-standard",
53+
"buttons": [
54+
"xr-standard-trigger",
55+
"xr-standard-squeeze",
56+
null,
57+
"xr-standard-thumbstick",
58+
"a-button",
59+
"b-button",
60+
"thumbrest"
61+
],
62+
"axes": [
63+
null,
64+
null,
65+
{ "componentId": "xr-standard-thumbstick", "axis": "x-axis" },
66+
{ "componentId": "xr-standard-thumbstick", "axis": "y-axis" }
67+
]
68+
}
69+
}
70+
}
71+
}

0 commit comments

Comments
 (0)