Download controller models at compile time, add Samsung Galaxy XR controller

This commit is contained in:
Guillaume Meunier authored and Patrick Nicolas committed 2025-12-08 14:59:35 +01:00
1 parent e394cb0dcb
commit 854e4c7b57
29 files changed
+35 -2357

No files matched your search

+3
View File
@@ -53,6 +53,7 @@ jobs:
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
${{github.workspace}}/cmake-fetch/*.tar.*
${{github.workspace}}/cmake-fetch/*.tgz
restore-keys: cmake-linux-
- name: Install dependencies
@@ -128,6 +129,7 @@ jobs:
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
${{github.workspace}}/cmake-fetch/*.tar.*
${{github.workspace}}/cmake-fetch/*.tgz
restore-keys: cmake-linux-
- name: Configure CMake
@@ -230,6 +232,7 @@ jobs:
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
${{github.workspace}}/cmake-fetch/*.tar.*
${{github.workspace}}/cmake-fetch/*.zip
${{github.workspace}}/cmake-fetch/*.tgz
restore-keys: cmake-android-
- name: Install dependencies
@@ -1,168 +0,0 @@
{
"profileId": "generic-trigger-squeeze",
"fallbackProfileIds": [],
"layouts": {
"left": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "generic-trigger-squeeze-left",
"assetPath": "left.glb"
},
"right": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "generic-trigger-squeeze-right",
"assetPath": "right.glb"
},
"none": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
},
"xr_standard_squeeze_pressed_mirror": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_mirror_value",
"minNodeName": "xr_standard_squeeze_pressed_mirror_min",
"maxNodeName": "xr_standard_squeeze_pressed_mirror_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "generic-trigger-squeeze-none",
"assetPath": "none.glb"
}
}
}
Binary file not shown.
@@ -1,286 +0,0 @@
{
"profileId": "htc-vive-focus-3",
"fallbackProfileIds": [
"generic-trigger-squeeze-thumbstick"
],
"layouts": {
"left": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"x-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "x_button",
"visualResponses": {
"x_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "x_button_pressed_value",
"minNodeName": "x_button_pressed_min",
"maxNodeName": "x_button_pressed_max"
}
}
},
"y-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "y_button",
"visualResponses": {
"y_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "y_button_pressed_value",
"minNodeName": "y_button_pressed_min",
"maxNodeName": "y_button_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "htc-vive-focus-3-left",
"assetPath": "left.glb"
},
"right": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"a-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "a_button",
"visualResponses": {
"a_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "a_button_pressed_value",
"minNodeName": "a_button_pressed_min",
"maxNodeName": "a_button_pressed_max"
}
}
},
"b-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "b_button",
"visualResponses": {
"b_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "b_button_pressed_value",
"minNodeName": "b_button_pressed_min",
"maxNodeName": "b_button_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "htc-vive-focus-3-right",
"assetPath": "right.glb"
}
}
}
Binary file not shown.
@@ -1,330 +0,0 @@
{
"profileId": "meta-quest-touch-plus",
"fallbackProfileIds": [
"oculus-touch-v3",
"oculus-touch",
"generic-trigger-squeeze-thumbstick"
],
"layouts": {
"left": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"x-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "x_button",
"visualResponses": {
"x_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "x_button_pressed_value",
"minNodeName": "x_button_pressed_min",
"maxNodeName": "x_button_pressed_max"
}
}
},
"y-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "y_button",
"visualResponses": {
"y_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "y_button_pressed_value",
"minNodeName": "y_button_pressed_min",
"maxNodeName": "y_button_pressed_max"
}
}
},
"thumbrest": {
"type": "button",
"gamepadIndices": {
"button": 6
},
"rootNodeName": "thumbrest",
"visualResponses": {
"thumbrest_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "thumbrest_pressed_value",
"minNodeName": "thumbrest_pressed_min",
"maxNodeName": "thumbrest_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "meta-quest-touch-plus-left",
"assetPath": "left.glb"
},
"right": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"a-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "a_button",
"visualResponses": {
"a_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "a_button_pressed_value",
"minNodeName": "a_button_pressed_min",
"maxNodeName": "a_button_pressed_max"
}
}
},
"b-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "b_button",
"visualResponses": {
"b_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "b_button_pressed_value",
"minNodeName": "b_button_pressed_min",
"maxNodeName": "b_button_pressed_max"
}
}
},
"thumbrest": {
"type": "button",
"gamepadIndices": {
"button": 6
},
"rootNodeName": "thumbrest",
"visualResponses": {
"thumbrest_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "thumbrest_pressed_value",
"minNodeName": "thumbrest_pressed_min",
"maxNodeName": "thumbrest_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "meta-quest-touch-plus-right",
"assetPath": "right.glb"
}
}
}
@@ -1,330 +0,0 @@
{
"profileId": "meta-quest-touch-pro",
"fallbackProfileIds": [
"oculus-touch-v2",
"oculus-touch",
"generic-trigger-squeeze-thumbstick"
],
"layouts": {
"left": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"x-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "x_button",
"visualResponses": {
"x_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "x_button_pressed_value",
"minNodeName": "x_button_pressed_min",
"maxNodeName": "x_button_pressed_max"
}
}
},
"y-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "y_button",
"visualResponses": {
"y_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "y_button_pressed_value",
"minNodeName": "y_button_pressed_min",
"maxNodeName": "y_button_pressed_max"
}
}
},
"thumbrest": {
"type": "button",
"gamepadIndices": {
"button": 6
},
"rootNodeName": "thumbrest",
"visualResponses": {
"thumbrest_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "thumbrest_pressed_value",
"minNodeName": "thumbrest_pressed_min",
"maxNodeName": "thumbrest_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "meta-quest-touch-pro-left",
"assetPath": "left.glb"
},
"right": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"a-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "a_button",
"visualResponses": {
"a_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "a_button_pressed_value",
"minNodeName": "a_button_pressed_min",
"maxNodeName": "a_button_pressed_max"
}
}
},
"b-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "b_button",
"visualResponses": {
"b_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "b_button_pressed_value",
"minNodeName": "b_button_pressed_min",
"maxNodeName": "b_button_pressed_max"
}
}
},
"thumbrest": {
"type": "button",
"gamepadIndices": {
"button": 6
},
"rootNodeName": "thumbrest",
"visualResponses": {
"thumbrest_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "thumbrest_pressed_value",
"minNodeName": "thumbrest_pressed_min",
"maxNodeName": "thumbrest_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "meta-quest-touch-pro-right",
"assetPath": "right.glb"
}
}
}
Binary file not shown.
@@ -1,329 +0,0 @@
{
"profileId": "oculus-touch-v2",
"fallbackProfileIds": [
"oculus-touch",
"generic-trigger-squeeze-thumbstick"
],
"layouts": {
"left": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"x-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "x_button",
"visualResponses": {
"x_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "x_button_pressed_value",
"minNodeName": "x_button_pressed_min",
"maxNodeName": "x_button_pressed_max"
}
}
},
"y-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "y_button",
"visualResponses": {
"y_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "y_button_pressed_value",
"minNodeName": "y_button_pressed_min",
"maxNodeName": "y_button_pressed_max"
}
}
},
"thumbrest": {
"type": "button",
"gamepadIndices": {
"button": 6
},
"rootNodeName": "thumbrest",
"visualResponses": {
"thumbrest_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "thumbrest_pressed_value",
"minNodeName": "thumbrest_pressed_min",
"maxNodeName": "thumbrest_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "oculus-touch-v2-left",
"assetPath": "left.glb"
},
"right": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"a-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "a_button",
"visualResponses": {
"a_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "a_button_pressed_value",
"minNodeName": "a_button_pressed_min",
"maxNodeName": "a_button_pressed_max"
}
}
},
"b-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "b_button",
"visualResponses": {
"b_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "b_button_pressed_value",
"minNodeName": "b_button_pressed_min",
"maxNodeName": "b_button_pressed_max"
}
}
},
"thumbrest": {
"type": "button",
"gamepadIndices": {
"button": 6
},
"rootNodeName": "thumbrest",
"visualResponses": {
"thumbrest_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "thumbrest_pressed_value",
"minNodeName": "thumbrest_pressed_min",
"maxNodeName": "thumbrest_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "oculus-touch-v2-right",
"assetPath": "right.glb"
}
}
}
Binary file not shown.
Binary file not shown.
@@ -1,330 +0,0 @@
{
"profileId": "oculus-touch-v3",
"fallbackProfileIds": [
"oculus-touch-v2",
"oculus-touch",
"generic-trigger-squeeze-thumbstick"
],
"layouts": {
"left": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"x-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "x_button",
"visualResponses": {
"x_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "x_button_pressed_value",
"minNodeName": "x_button_pressed_min",
"maxNodeName": "x_button_pressed_max"
}
}
},
"y-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "y_button",
"visualResponses": {
"y_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "y_button_pressed_value",
"minNodeName": "y_button_pressed_min",
"maxNodeName": "y_button_pressed_max"
}
}
},
"thumbrest": {
"type": "button",
"gamepadIndices": {
"button": 6
},
"rootNodeName": "thumbrest",
"visualResponses": {
"thumbrest_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "thumbrest_pressed_value",
"minNodeName": "thumbrest_pressed_min",
"maxNodeName": "thumbrest_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "oculus-touch-v3-left",
"assetPath": "left.glb"
},
"right": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"a-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "a_button",
"visualResponses": {
"a_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "a_button_pressed_value",
"minNodeName": "a_button_pressed_min",
"maxNodeName": "a_button_pressed_max"
}
}
},
"b-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "b_button",
"visualResponses": {
"b_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "b_button_pressed_value",
"minNodeName": "b_button_pressed_min",
"maxNodeName": "b_button_pressed_max"
}
}
},
"thumbrest": {
"type": "button",
"gamepadIndices": {
"button": 6
},
"rootNodeName": "thumbrest",
"visualResponses": {
"thumbrest_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "thumbrest_pressed_value",
"minNodeName": "thumbrest_pressed_min",
"maxNodeName": "thumbrest_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "oculus-touch-v3-right",
"assetPath": "right.glb"
}
}
}
Binary file not shown.
Binary file not shown.
@@ -1,286 +0,0 @@
{
"profileId": "pico-4",
"fallbackProfileIds": [
"generic-trigger-squeeze-thumbstick"
],
"layouts": {
"left": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"x-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "x_button",
"visualResponses": {
"x_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "x_button_pressed_value",
"minNodeName": "x_button_pressed_min",
"maxNodeName": "x_button_pressed_max"
}
}
},
"y-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "y_button",
"visualResponses": {
"y_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "y_button_pressed_value",
"minNodeName": "y_button_pressed_min",
"maxNodeName": "y_button_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "pico-4-left",
"assetPath": "left.glb"
},
"right": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"a-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "a_button",
"visualResponses": {
"a_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "a_button_pressed_value",
"minNodeName": "a_button_pressed_min",
"maxNodeName": "a_button_pressed_max"
}
}
},
"b-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "b_button",
"visualResponses": {
"b_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "b_button_pressed_value",
"minNodeName": "b_button_pressed_min",
"maxNodeName": "b_button_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "pico-4-right",
"assetPath": "right.glb"
}
}
}
Binary file not shown.
Binary file not shown.
@@ -1,286 +0,0 @@
{
"profileId": "pico-neo3",
"fallbackProfileIds": [
"generic-trigger-squeeze-thumbstick"
],
"layouts": {
"left": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"x-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "x_button",
"visualResponses": {
"x_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "x_button_pressed_value",
"minNodeName": "x_button_pressed_min",
"maxNodeName": "x_button_pressed_max"
}
}
},
"y-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "y_button",
"visualResponses": {
"y_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "y_button_pressed_value",
"minNodeName": "y_button_pressed_min",
"maxNodeName": "y_button_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "pico-neo3-left",
"assetPath": "left.glb"
},
"right": {
"selectComponentId": "xr-standard-trigger",
"components": {
"xr-standard-trigger": {
"type": "trigger",
"gamepadIndices": {
"button": 0
},
"rootNodeName": "xr_standard_trigger",
"visualResponses": {
"xr_standard_trigger_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_trigger_pressed_value",
"minNodeName": "xr_standard_trigger_pressed_min",
"maxNodeName": "xr_standard_trigger_pressed_max"
}
}
},
"xr-standard-squeeze": {
"type": "squeeze",
"gamepadIndices": {
"button": 1
},
"rootNodeName": "xr_standard_squeeze",
"visualResponses": {
"xr_standard_squeeze_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_squeeze_pressed_value",
"minNodeName": "xr_standard_squeeze_pressed_min",
"maxNodeName": "xr_standard_squeeze_pressed_max"
}
}
},
"xr-standard-thumbstick": {
"type": "thumbstick",
"gamepadIndices": {
"button": 3,
"xAxis": 2,
"yAxis": 3
},
"rootNodeName": "xr_standard_thumbstick",
"visualResponses": {
"xr_standard_thumbstick_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_pressed_value",
"minNodeName": "xr_standard_thumbstick_pressed_min",
"maxNodeName": "xr_standard_thumbstick_pressed_max"
},
"xr_standard_thumbstick_xaxis_pressed": {
"componentProperty": "xAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_xaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_xaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_xaxis_pressed_max"
},
"xr_standard_thumbstick_yaxis_pressed": {
"componentProperty": "yAxis",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "xr_standard_thumbstick_yaxis_pressed_value",
"minNodeName": "xr_standard_thumbstick_yaxis_pressed_min",
"maxNodeName": "xr_standard_thumbstick_yaxis_pressed_max"
}
}
},
"a-button": {
"type": "button",
"gamepadIndices": {
"button": 4
},
"rootNodeName": "a_button",
"visualResponses": {
"a_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "a_button_pressed_value",
"minNodeName": "a_button_pressed_min",
"maxNodeName": "a_button_pressed_max"
}
}
},
"b-button": {
"type": "button",
"gamepadIndices": {
"button": 5
},
"rootNodeName": "b_button",
"visualResponses": {
"b_button_pressed": {
"componentProperty": "button",
"states": [
"default",
"touched",
"pressed"
],
"valueNodeProperty": "transform",
"valueNodeName": "b_button_pressed_value",
"minNodeName": "b_button_pressed_min",
"maxNodeName": "b_button_pressed_max"
}
}
}
},
"gamepadMapping": "xr-standard",
"rootNodeName": "pico-neo3-right",
"assetPath": "right.glb"
}
}
}
Binary file not shown.
+11 -8
View File
@@ -276,14 +276,17 @@ if(WIVRN_COMPRESS_GLB)
else()
wivrn_copy_file( SOURCE ${ASSETS_SRC_DIR}/ground.glb DESTINATION ${ASSETS_DIR}/ground.glb TARGET wivrn)
endif()
wivrn_webxr_controller( SOURCE ${ASSETS_SRC_DIR}/controllers/generic-trigger-squeeze DESTINATION ${ASSETS_DIR}/controllers/generic-trigger-squeeze TARGET wivrn)
wivrn_webxr_controller( SOURCE ${ASSETS_SRC_DIR}/controllers/htc-vive-focus-3 DESTINATION ${ASSETS_DIR}/controllers/htc-vive-focus-3 TARGET wivrn)
wivrn_webxr_controller( SOURCE ${ASSETS_SRC_DIR}/controllers/meta-quest-touch-plus DESTINATION ${ASSETS_DIR}/controllers/meta-quest-touch-plus TARGET wivrn)
wivrn_webxr_controller( SOURCE ${ASSETS_SRC_DIR}/controllers/meta-quest-touch-pro DESTINATION ${ASSETS_DIR}/controllers/meta-quest-touch-pro TARGET wivrn)
wivrn_webxr_controller( SOURCE ${ASSETS_SRC_DIR}/controllers/oculus-touch-v2 DESTINATION ${ASSETS_DIR}/controllers/oculus-touch-v2 TARGET wivrn)
wivrn_webxr_controller( SOURCE ${ASSETS_SRC_DIR}/controllers/oculus-touch-v3 DESTINATION ${ASSETS_DIR}/controllers/oculus-touch-v3 TARGET wivrn)
wivrn_webxr_controller( SOURCE ${ASSETS_SRC_DIR}/controllers/pico-4 DESTINATION ${ASSETS_DIR}/controllers/pico-4 TARGET wivrn)
wivrn_webxr_controller( SOURCE ${ASSETS_SRC_DIR}/controllers/pico-neo3 DESTINATION ${ASSETS_DIR}/controllers/pico-neo3 TARGET wivrn)
wivrn_webxr_download()
wivrn_webxr_controller(PROFILE generic-trigger-squeeze DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
wivrn_webxr_controller(PROFILE htc-vive-focus-3 DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
wivrn_webxr_controller(PROFILE meta-quest-touch-plus DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
wivrn_webxr_controller(PROFILE meta-quest-touch-pro DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
wivrn_webxr_controller(PROFILE oculus-touch-v2 DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
wivrn_webxr_controller(PROFILE oculus-touch-v3 DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
wivrn_webxr_controller(PROFILE pico-4 DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
wivrn_webxr_controller(PROFILE pico-neo3 DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
wivrn_webxr_controller(PROFILE samsung-galaxyxr DESTINATION ${ASSETS_DIR}/controllers TARGET wivrn)
# Add the VR splash screen (only used on Quest)
+1
View File
@@ -328,6 +328,7 @@ std::string controller_name()
case model::htc_vive_xr_elite:
return "htc-vive-focus-3";
case model::samsung_galaxy_xr:
return "samsung-galaxyxr";
case model::lynx_r1:
case model::unknown:
return "generic-trigger-squeeze";
+20 -4
View File
@@ -127,13 +127,29 @@ function(wivrn_copy_file)
endif()
endfunction()
function(wivrn_webxr_download)
if(NOT EXISTS ${FETCHCONTENT_BASE_DIR}/@webxr-input-profiles-1.0.20.tgz)
if (EXISTS ${CMAKE_SOURCE_DIR}/@webxr-input-profiles-1.0.20.tgz)
file(CREATE_LINK ${CMAKE_SOURCE_DIR}/@webxr-input-profiles-1.0.20.tgz ${FETCHCONTENT_BASE_DIR}/@webxr-input-profiles-1.0.20.tgz SYMBOLIC)
else()
file(DOWNLOAD https://registry.npmjs.com/@webxr-input-profiles/assets/-/assets-1.0.20.tgz
${FETCHCONTENT_BASE_DIR}/@webxr-input-profiles-1.0.20.tgz
EXPECTED_HASH SHA256=30df2a2268220fc0d0e034bed1550aabdd7a2500573c5216f64fc70d59c3d91e)
endif()
endif()
file(ARCHIVE_EXTRACT INPUT ${FETCHCONTENT_BASE_DIR}/@webxr-input-profiles-1.0.20.tgz DESTINATION ${FETCHCONTENT_BASE_DIR}/@webxr-input-profiles)
endfunction()
function(wivrn_webxr_controller)
set(options)
set(oneValueArgs SOURCE DESTINATION TARGET)
set(oneValueArgs PROFILE DESTINATION TARGET)
set(multiValueArgs)
cmake_parse_arguments(PARSE_ARGV 0 arg "${options}" "${oneValueArgs}" "${multiValueArgs}")
set(arg_SOURCE ${FETCHCONTENT_BASE_DIR}/@webxr-input-profiles/package/dist/profiles/${arg_PROFILE})
file(READ ${arg_SOURCE}/profile.json PROFILE_JSON)
string(JSON NB_LAYOUTS LENGTH "${PROFILE_JSON}" layouts)
@@ -149,11 +165,11 @@ function(wivrn_webxr_controller)
set(TEMPFILE ${PROFILE_ID}-${LAYOUT_NAME}.glb)
wivrn_gltf_transform_resize(SOURCE ${arg_SOURCE}/${ASSET_PATH} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/${TEMPFILE} WIDTH 512 HEIGHT 512)
wivrn_gltf_transform_uastc(SOURCE ${CMAKE_CURRENT_BINARY_DIR}/${TEMPFILE} DESTINATION ${arg_DESTINATION}/${ASSET_PATH} ZSTD 20 TARGET ${arg_TARGET})
wivrn_gltf_transform_uastc(SOURCE ${CMAKE_CURRENT_BINARY_DIR}/${TEMPFILE} DESTINATION ${arg_DESTINATION}/${arg_PROFILE}/${ASSET_PATH} ZSTD 20 TARGET ${arg_TARGET})
else()
wivrn_copy_file(SOURCE ${arg_SOURCE}/${ASSET_PATH} DESTINATION ${arg_DESTINATION}/${ASSET_PATH} TARGET ${arg_TARGET})
wivrn_copy_file(SOURCE ${arg_SOURCE}/${ASSET_PATH} DESTINATION ${arg_DESTINATION}/${arg_PROFILE}/${ASSET_PATH} TARGET ${arg_TARGET})
endif()
endforeach()
wivrn_copy_file(SOURCE ${arg_SOURCE}/profile.json DESTINATION ${arg_DESTINATION}/profile.json TARGET ${arg_TARGET})
wivrn_copy_file(SOURCE ${arg_SOURCE}/profile.json DESTINATION ${arg_DESTINATION}/${arg_PROFILE}/profile.json TARGET ${arg_TARGET})
endfunction()