Skip to content

Commit 31de5c1

Browse files
xuqiditoji
xuqidi
authored andcommitted
Add YVR Touch-v2 controller models and profiles
1 parent 8a71e47 commit 31de5c1

File tree

4 files changed

+65
-0
lines changed

4 files changed

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

0 commit comments

Comments
 (0)