Skip to content

Commit ea9cbb1

Browse files
atarng-magicleaptoji
authored andcommitted
Add Magic Leap Two controller assets
1 parent 31de5c1 commit ea9cbb1

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed
1.24 MB
Binary file not shown.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"profileId" : "magicleap-two",
3+
"overrides" : {
4+
"left-right": {
5+
"rootNodeName": "magicleap_two_none",
6+
"assetPath": "none.glb"
7+
}
8+
}
9+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"profileId": "magicleap-two",
3+
"fallbackProfileIds": ["generic-trigger-squeeze-touchpad"],
4+
"layouts" : {
5+
"left-right-none" : {
6+
"selectComponentId": "xr-standard-trigger",
7+
"components": {
8+
"xr-standard-trigger": { "type": "trigger" },
9+
"xr-standard-squeeze": { "type": "squeeze" },
10+
"xr-standard-touchpad": { "type": "touchpad" }
11+
},
12+
"gamepad": {
13+
"mapping": "xr-standard",
14+
"buttons": [
15+
"xr-standard-trigger",
16+
"xr-standard-squeeze",
17+
"xr-standard-touchpad"
18+
],
19+
"axes":[
20+
{ "componentId": "xr-standard-touchpad", "axis": "x-axis"},
21+
{ "componentId": "xr-standard-touchpad", "axis": "y-axis"}
22+
]
23+
}
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)