Change Vive wand teleport and turn from touch to press

This commit is contained in:
Toomas Tamm
2021-04-14 15:59:44 +03:00
parent 90563e776a
commit 28539e7600
17 changed files with 768 additions and 63 deletions

View File

@@ -496,9 +496,9 @@
},
{
"name": "Teleport Mode Activate",
"type": "Value",
"type": "Button",
"id": "a6c7231d-c55d-4dd4-9e87-877bb5522ef5",
"expectedControlType": "Vector2",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
@@ -541,6 +541,14 @@
"expectedControlType": "Vector2",
"processors": "",
"interactions": ""
},
{
"name": "Navigation Modifier",
"type": "Button",
"id": "9c8e891c-04ee-4ed0-9ef5-110958c67d19",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
}
],
"bindings": [
@@ -753,24 +761,13 @@
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "",
"id": "df117805-7b8e-414a-94b7-f5661862d77b",
"path": "<XRController>{RightHand}/primary2DAxis",
"interactions": "Sector(directions=1)",
"processors": "",
"groups": "Generic XR Controller",
"action": "Teleport Mode Activate",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "d0da8ce3-f80e-4bf3-8a51-9692f0fa2270",
"path": "<XRController>{RightHand}/primaryButton",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"groups": "Generic XR Controller;Noncontinuous Move",
"action": "Teleport Mode Activate",
"isComposite": false,
"isPartOfComposite": false
@@ -797,6 +794,17 @@
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "a5c7383b-5497-4ac2-8964-7c06885e46ba",
"path": "<XRController>{RightHand}/trackpadPressed",
"interactions": "",
"processors": "Invert",
"groups": "HTC Vive Wands",
"action": "Teleport Select",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "ee82a989-fde3-448e-9a6f-6279a397c5bc",
@@ -807,6 +815,50 @@
"action": "Select",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "aa3ce0c0-e6c7-4234-b9b7-2c831193c75b",
"path": "<XRController>{RightHand}/primary2DAxisClick",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Navigation Modifier",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "55508df7-328f-4c02-bd2a-7bc013ac780b",
"path": "<XRController>{RightHand}/primary2DAxisTouch",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Navigation Modifier",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "f03a7fbb-607e-4e45-8eaa-d71abac3024f",
"path": "<ViveController>/trackpadClicked",
"interactions": "",
"processors": "",
"groups": "HTC Vive Wands",
"action": "Navigation Modifier",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "9a25275b-5838-4baa-b7f3-c72a869b76a8",
"path": "<XRController>{RightHand}/Primary2DAxis",
"interactions": "Sector(directions=1)",
"processors": "",
"groups": "Noncontinuous Move;Generic XR Controller",
"action": "Teleport Mode Activate",
"isComposite": false,
"isPartOfComposite": false
}
]
}
@@ -869,6 +921,17 @@
"isOR": false
}
]
},
{
"name": "HTC Vive Wands",
"bindingGroup": "HTC Vive Wands",
"devices": [
{
"devicePath": "<ViveController>",
"isOptional": false,
"isOR": false
}
]
}
]
}