Commit 790a1022 authored by Chris Massie's avatar Chris Massie

Update examples for 2.0.1

Mirror of 20267052fcc62ae986e5827389a48c58a392ae35
parent 3a5d97ef
......@@ -17,7 +17,7 @@
"com.unity.xr.arcore": "2.1.16",
"com.unity.xr.arfoundation": "2.1.16",
"com.unity.xr.arkit": "2.1.16",
"com.unity.xr.interaction.toolkit": "2.0.0",
"com.unity.xr.interaction.toolkit": "2.0.1",
"com.unity.xr.management": "3.2.17",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
......
......@@ -175,7 +175,7 @@
"url": "https://packages.unity.com"
},
"com.unity.xr.interaction.toolkit": {
"version": "2.0.0",
"version": "2.0.1",
"depth": 0,
"source": "registry",
"dependencies": {
......
......@@ -2,7 +2,7 @@
"name": "XRI Default Input Actions",
"maps": [
{
"name": "XRI HMD",
"name": "XRI Head",
"id": "09ff3ccc-21b4-4346-a3a2-7c978b5af892",
"actions": [
{
......@@ -11,7 +11,8 @@
"id": "1a9029f8-7a46-46b9-9eff-e9ae8365f611",
"expectedControlType": "Vector3",
"processors": "",
"interactions": ""
"interactions": "",
"initialStateCheck": true
},
{
"name": "Rotation",
......@@ -19,7 +20,8 @@
"id": "aed87fe6-2b01-4dd2-a8fa-195578fd8158",
"expectedControlType": "Quaternion",
"processors": "",
"interactions": ""
"interactions": "",
"initialStateCheck": true
}
],
"bindings": [
......@@ -57,7 +59,8 @@
"id": "83a7af0b-87e3-42c3-a909-95fbf8091e4f",
"expectedControlType": "Vector3",
"processors": "",
"interactions": ""
"interactions": "",
"initialStateCheck": true
},
{
"name": "Rotation",
......@@ -65,7 +68,8 @@
"id": "cb6b7130-2bac-4ef7-abe4-6991ae7d419d",
"expectedControlType": "Quaternion",
"processors": "",
"interactions": ""
"interactions": "",
"initialStateCheck": true
},
{
"name": "Tracking State",
......@@ -73,55 +77,8 @@
"id": "d20fc51c-7916-43a7-8b03-706049966aea",
"expectedControlType": "Integer",
"processors": "",
"interactions": ""
},
{
"name": "Select",
"type": "Button",
"id": "33754c03-48ec-46ef-9bc6-22ed6bfdd8e8",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "Select Value",
"type": "Value",
"id": "e6005f29-e4c1-4f3b-8bf7-3a28bab5ca9c",
"expectedControlType": "Axis",
"processors": "",
"interactions": ""
},
{
"name": "Activate",
"type": "Button",
"id": "0c0991c5-d329-4afc-8892-1076b440477c",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "Activate Value",
"type": "Value",
"id": "0c3d0ec9-85a1-45b3-839b-1ca43f859ecd",
"expectedControlType": "Axis",
"processors": "",
"interactions": ""
},
{
"name": "UI Press",
"type": "Button",
"id": "7e1eced7-c774-4fe5-be8f-d8711f646d9e",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "UI Press Value",
"type": "Value",
"id": "f241c1aa-1050-4338-b2bf-a4a47776693d",
"expectedControlType": "Axis",
"processors": "",
"interactions": ""
"interactions": "",
"initialStateCheck": true
},
{
"name": "Haptic Device",
......@@ -129,77 +86,11 @@
"id": "664a62b0-e178-421d-b3f8-014eec01591d",
"expectedControlType": "",
"processors": "",
"interactions": ""
},
{
"name": "Teleport Select",
"type": "Button",
"id": "cbeaf823-3b69-4004-8ec8-13ea2ca3fc31",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "Teleport Mode Activate",
"type": "Button",
"id": "a21db72c-4843-4839-b4d0-3ce8d287cb86",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "Teleport Mode Cancel",
"type": "Button",
"id": "89ce8348-6001-41a3-85b9-f8f2e2dcad7c",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "Turn",
"type": "Value",
"id": "9164e093-ebd4-4923-af32-1b52f31c2d66",
"expectedControlType": "Vector2",
"processors": "",
"interactions": ""
},
{
"name": "Move",
"type": "Value",
"id": "9693e25f-8a4f-4aed-842f-3961243c69a1",
"expectedControlType": "Vector2",
"processors": "",
"interactions": ""
},
{
"name": "Rotate Anchor",
"type": "Value",
"id": "21b75b25-12ad-410f-b4f8-a7745b7aca27",
"expectedControlType": "Vector2",
"processors": "",
"interactions": ""
},
{
"name": "Translate Anchor",
"type": "Value",
"id": "bfa204c7-3c92-4193-bad1-39eb71920042",
"expectedControlType": "Vector2",
"processors": "",
"interactions": ""
"interactions": "",
"initialStateCheck": false
}
],
"bindings": [
{
"name": "",
"id": "b34c79c1-ab5e-4851-87ac-abc43705eae0",
"path": "<XRController>{LeftHand}/triggerPressed",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "UI Press",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "Quaternion Fallback",
"id": "61466a56-4ee4-47b1-aa6a-4806de1de5f2",
......@@ -245,104 +136,151 @@
"isPartOfComposite": true
},
{
"name": "",
"id": "8da6ed3a-f621-49fe-8c76-1f6b7d7754d6",
"path": "<XRController>{LeftHand}/Primary2DAxis",
"interactions": "Sector(directions=1)",
"name": "Vector 3 Fallback",
"id": "14aeff85-d719-43ff-a124-b1cd7ca8686d",
"path": "Vector3Fallback",
"interactions": "",
"processors": "",
"groups": "Noncontinuous Move",
"action": "Teleport Mode Activate",
"isComposite": false,
"groups": "",
"action": "Position",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "",
"id": "b8edee81-6779-4aa8-89cd-29b149a8f55e",
"path": "<XRController>{LeftHand}/primaryButton",
"name": "first",
"id": "abf752ec-feee-4d51-b530-f0870f48acc9",
"path": "<XRController>{LeftHand}/pointerPosition",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Teleport Mode Activate",
"action": "Position",
"isComposite": false,
"isPartOfComposite": false
"isPartOfComposite": true
},
{
"name": "",
"id": "b8aebee7-fa03-43d4-bfb7-77a3f87452cc",
"path": "<XRController>{LeftHand}/gripPressed",
"name": "second",
"id": "6580b669-0651-401c-9779-85ef22689130",
"path": "<XRController>{LeftHand}/devicePosition",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Teleport Mode Cancel",
"action": "Position",
"isComposite": false,
"isPartOfComposite": false
"isPartOfComposite": true
},
{
"name": "",
"id": "95fa1419-ca7b-4c8a-8d15-7d46e58d82e3",
"path": "<XRController>{LeftHand}/Primary2DAxis",
"interactions": "Sector(directions=-1,sweepBehavior=3)",
"name": "third",
"id": "ae101942-9eaa-4c53-a388-cafc3fd89bdf",
"path": "",
"interactions": "",
"processors": "",
"groups": "Noncontinuous Move",
"action": "Teleport Select",
"groups": "Generic XR Controller",
"action": "Position",
"isComposite": false,
"isPartOfComposite": false
"isPartOfComposite": true
},
{
"name": "",
"id": "14a27f53-867e-4d15-92d9-3e36deb55b1b",
"path": "<XRController>{LeftHand}/primaryButton",
"id": "acdf9550-5529-4ff7-8558-73ecdf0d75bd",
"path": "<XRController>{LeftHand}/*",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Teleport Select",
"action": "Haptic Device",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "Vector 3 Fallback",
"id": "14aeff85-d719-43ff-a124-b1cd7ca8686d",
"path": "Vector3Fallback",
"name": "",
"id": "97a0351f-659b-482a-8fa0-19015ccd055e",
"path": "<XRController>{LeftHand}/trackingState",
"interactions": "",
"processors": "",
"groups": "",
"action": "Position",
"isComposite": true,
"groups": "Generic XR Controller",
"action": "Tracking State",
"isComposite": false,
"isPartOfComposite": false
}
]
},
{
"name": "XRI LeftHand Interaction",
"id": "7a5e7537-cc30-4eb1-a544-6946baa8f3eb",
"actions": [
{
"name": "Select",
"type": "Button",
"id": "33754c03-48ec-46ef-9bc6-22ed6bfdd8e8",
"expectedControlType": "Button",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "first",
"id": "abf752ec-feee-4d51-b530-f0870f48acc9",
"path": "<XRController>{LeftHand}/pointerPosition",
"name": "Select Value",
"type": "Value",
"id": "e6005f29-e4c1-4f3b-8bf7-3a28bab5ca9c",
"expectedControlType": "Axis",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Activate",
"type": "Button",
"id": "0c0991c5-d329-4afc-8892-1076b440477c",
"expectedControlType": "Button",
"processors": "",
"groups": "Generic XR Controller",
"action": "Position",
"isComposite": false,
"isPartOfComposite": true
"interactions": "",
"initialStateCheck": false
},
{
"name": "second",
"id": "6580b669-0651-401c-9779-85ef22689130",
"path": "<XRController>{LeftHand}/devicePosition",
"name": "Activate Value",
"type": "Value",
"id": "0c3d0ec9-85a1-45b3-839b-1ca43f859ecd",
"expectedControlType": "Axis",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "UI Press",
"type": "Button",
"id": "7e1eced7-c774-4fe5-be8f-d8711f646d9e",
"expectedControlType": "Button",
"processors": "",
"groups": "Generic XR Controller",
"action": "Position",
"isComposite": false,
"isPartOfComposite": true
"interactions": "",
"initialStateCheck": false
},
{
"name": "third",
"id": "ae101942-9eaa-4c53-a388-cafc3fd89bdf",
"path": "",
"name": "UI Press Value",
"type": "Value",
"id": "f241c1aa-1050-4338-b2bf-a4a47776693d",
"expectedControlType": "Axis",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Rotate Anchor",
"type": "Value",
"id": "21b75b25-12ad-410f-b4f8-a7745b7aca27",
"expectedControlType": "Vector2",
"processors": "",
"groups": "Generic XR Controller",
"action": "Position",
"isComposite": false,
"isPartOfComposite": true
"interactions": "",
"initialStateCheck": true
},
{
"name": "Translate Anchor",
"type": "Value",
"id": "bfa204c7-3c92-4193-bad1-39eb71920042",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
}
],
"bindings": [
{
"name": "",
"id": "71a4d23f-3e9a-4513-923b-ba388c5e84bf",
......@@ -354,6 +292,17 @@
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "49a23327-a116-48c0-8af9-0d2c50c15a88",
"path": "<XRController>{LeftHand}/grip",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Select Value",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "487f4f2e-9e9b-49aa-b0f2-4037a24624f5",
......@@ -367,34 +316,34 @@
},
{
"name": "",
"id": "99cb7ad1-51ec-4611-af68-92a85f2c17d6",
"path": "<XRController>{LeftHand}/Primary2DAxis",
"interactions": "Sector(directions=12,sweepBehavior=1),Sector(directions=2,sweepBehavior=2)",
"id": "3b8b1b59-2fdc-4998-8259-50341075d9a2",
"path": "<XRController>{LeftHand}/trigger",
"interactions": "",
"processors": "",
"groups": "Noncontinuous Move",
"action": "Turn",
"groups": "Generic XR Controller",
"action": "Activate Value",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "8e383b1a-270f-4c20-819b-89a59cffb498",
"path": "<XRController>{LeftHand}/Primary2DAxis",
"id": "b34c79c1-ab5e-4851-87ac-abc43705eae0",
"path": "<XRController>{LeftHand}/triggerPressed",
"interactions": "",
"processors": "StickDeadzone",
"groups": "Continuous Move",
"action": "Move",
"processors": "",
"groups": "Generic XR Controller",
"action": "UI Press",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "acdf9550-5529-4ff7-8558-73ecdf0d75bd",
"path": "<XRController>{LeftHand}/*",
"id": "71d94579-1bf4-4034-ab9e-e7166842128f",
"path": "<XRController>{LeftHand}/trigger",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Haptic Device",
"action": "UI Press Value",
"isComposite": false,
"isPartOfComposite": false
},
......@@ -507,48 +456,112 @@
"action": "Translate Anchor",
"isComposite": false,
"isPartOfComposite": true
}
]
},
{
"name": "XRI LeftHand Locomotion",
"id": "22336389-9fb1-4c2c-8635-0ed30db0d29e",
"actions": [
{
"name": "Teleport Select",
"type": "Value",
"id": "cbeaf823-3b69-4004-8ec8-13ea2ca3fc31",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "",
"id": "97a0351f-659b-482a-8fa0-19015ccd055e",
"path": "<XRController>{LeftHand}/trackingState",
"name": "Teleport Mode Activate",
"type": "Value",
"id": "a21db72c-4843-4839-b4d0-3ce8d287cb86",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Teleport Mode Cancel",
"type": "Button",
"id": "89ce8348-6001-41a3-85b9-f8f2e2dcad7c",
"expectedControlType": "Button",
"processors": "",
"groups": "Generic XR Controller",
"action": "Tracking State",
"interactions": "",
"initialStateCheck": false
},
{
"name": "Turn",
"type": "Value",
"id": "9164e093-ebd4-4923-af32-1b52f31c2d66",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Move",
"type": "Value",
"id": "9693e25f-8a4f-4aed-842f-3961243c69a1",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
}
],
"bindings": [
{
"name": "",
"id": "95fa1419-ca7b-4c8a-8d15-7d46e58d82e3",
"path": "<XRController>{LeftHand}/Primary2DAxis",
"interactions": "Sector(directions=-1,sweepBehavior=3)",
"processors": "",
"groups": "Noncontinuous Move",
"action": "Teleport Select",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "49a23327-a116-48c0-8af9-0d2c50c15a88",
"path": "<XRController>{LeftHand}/grip",
"interactions": "",
"id": "8da6ed3a-f621-49fe-8c76-1f6b7d7754d6",
"path": "<XRController>{LeftHand}/Primary2DAxis",
"interactions": "Sector(directions=1)",
"processors": "",
"groups": "Generic XR Controller",
"action": "Select Value",
"groups": "Noncontinuous Move",
"action": "Teleport Mode Activate",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "3b8b1b59-2fdc-4998-8259-50341075d9a2",
"path": "<XRController>{LeftHand}/trigger",
"id": "b8aebee7-fa03-43d4-bfb7-77a3f87452cc",
"path": "<XRController>{LeftHand}/gripPressed",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Activate Value",
"action": "Teleport Mode Cancel",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "71d94579-1bf4-4034-ab9e-e7166842128f",
"path": "<XRController>{LeftHand}/trigger",
"interactions": "",
"id": "99cb7ad1-51ec-4611-af68-92a85f2c17d6",
"path": "<XRController>{LeftHand}/Primary2DAxis",
"interactions": "Sector(directions=12,sweepBehavior=1),Sector(directions=2,sweepBehavior=2)",
"processors": "",
"groups": "Generic XR Controller",
"action": "UI Press Value",
"groups": "Noncontinuous Move",
"action": "Turn",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "8e383b1a-270f-4c20-819b-89a59cffb498",
"path": "<XRController>{LeftHand}/Primary2DAxis",
"interactions": "",
"processors": "StickDeadzone",
"groups": "Continuous Move",
"action": "Move",
"isComposite": false,
"isPartOfComposite": false
}
......@@ -564,7 +577,8 @@
"id": "c4990d70-7b8a-4ce1-b03c-da86716b8352",
"expectedControlType": "Vector3",
"processors": "",
"interactions": ""
"interactions": "",
"initialStateCheck": true
},
{
"name": "Rotation",
......@@ -572,7 +586,8 @@
"id": "ee6bf5bf-bb0a-4a50-8327-cb654b19e298",
"expectedControlType": "Quaternion",
"processors": "",
"interactions": ""
"interactions": "",
"initialStateCheck": true
},
{
"name": "Tracking State",
......@@ -580,133 +595,20 @@
"id": "167ea203-5bfb-4d74-bde9-8026b7483102",
"expectedControlType": "Integer",
"processors": "",
"interactions": ""
},
{
"name": "Select",
"type": "Button",
"id": "ac96c10b-c955-4a46-8e67-bf16bc069b53",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "Select Value",
"type": "Value",
"id": "39bbf1ac-21a3-413d-90f6-6dbf6efeaabe",
"expectedControlType": "Axis",
"processors": "",
"interactions": ""
},
{
"name": "Activate",
"type": "Button",
"id": "41976d89-60de-4deb-bff9-16b4af96b290",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "Activate Value",
"type": "Value",
"id": "c3ca6ed7-3d25-44a2-b1d8-5be4eb699370",
"expectedControlType": "Axis",
"processors": "",
"interactions": ""
},
{
"name": "UI Press",
"type": "Button",
"id": "65174b45-c2ee-4f90-93bb-fb4084eaaab3",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "UI Press Value",
"type": "Value",
"id": "962ac033-ec42-4981-88a4-551ad9be6ecb",
"expectedControlType": "Axis",
"processors": "",
"interactions": ""
"interactions": "",
"initialStateCheck": true
},
{
"name": "Haptic Device",
"type": "PassThrough",
"id": "57b2a1b4-3290-46d6-ac07-4854ee8f91b1",
"expectedControlType": "",
"processors": "",
"interactions": ""
},
{
"name": "Teleport Select",
"type": "Button",
"id": "02e43582-8973-4940-af06-dff6158e3df2",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "Teleport Mode Activate",
"type": "Button",
"id": "a6c7231d-c55d-4dd4-9e87-877bb5522ef5",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "Teleport Mode Cancel",
"type": "Button",
"id": "d587b60c-39a0-4365-8075-477ce484ba0f",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "Turn",
"type": "Value",
"id": "9fb2eb2b-2fb6-4328-8167-10a1bf11b424",
"expectedControlType": "Vector2",
"processors": "",
"interactions": ""
},
{
"name": "Move",
"type": "Value",
"id": "00a4dc9f-1ee6-4349-b0e9-72d5dccaadd6",
"expectedControlType": "Vector2",
"processors": "",
"interactions": ""
},
{
"name": "Rotate Anchor",
"type": "Value",
"id": "9b5d8312-f609-4895-b70f-81a722b2ae11",
"expectedControlType": "Vector2",
"processors": "",
"interactions": ""
},
{
"name": "Translate Anchor",
"type": "Value",
"id": "6f7cf253-7062-443b-b10f-2be48a33f027",
"expectedControlType": "Vector2",
"processors": "",
"interactions": ""
}
],
"bindings": [
{
"name": "",
"id": "fa59aed1-ae0b-4074-a58c-294b85f46228",
"path": "<XRController>{RightHand}/triggerPressed",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Activate",
"isComposite": false,
"isPartOfComposite": false
},
"processors": "",
"interactions": "",
"initialStateCheck": false
}
],
"bindings": [
{
"name": "Quaternion Fallback",
"id": "84e51e1c-1b95-4f3e-a61f-29da6c1f0816",
......@@ -752,145 +654,214 @@
"isPartOfComposite": true
},
{
"name": "",
"id": "62690862-4688-4010-975b-b3d9c6062157",
"path": "<XRController>{RightHand}/Primary2DAxis",
"interactions": "Sector(directions=1)",
"name": "Vector 3 Fallback",
"id": "74e968f1-ad08-4a82-a68d-764517faecef",
"path": "Vector3Fallback",
"interactions": "",
"processors": "",
"groups": "",
"action": "Position",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "first",
"id": "9717e367-64a4-440a-9974-1e641d753eb2",
"path": "<XRController>{RightHand}/pointerPosition",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Teleport Mode Activate",
"action": "Position",
"isComposite": false,
"isPartOfComposite": false
"isPartOfComposite": true
},
{
"name": "",
"id": "90efd65e-3290-4798-af15-21ab4d7848b5",
"path": "<XRController>{RightHand}/primaryButton",
"name": "second",
"id": "0794a41d-29ef-48ec-a452-6b7de29b52fa",
"path": "<XRController>{RightHand}/devicePosition",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Teleport Mode Activate",
"action": "Position",
"isComposite": false,
"isPartOfComposite": false
"isPartOfComposite": true
},
{
"name": "",
"id": "de466e6e-12bf-46a1-b0fd-ffbc343f3399",
"path": "<XRController>{RightHand}/gripPressed",
"name": "third",
"id": "3ef0a781-60c5-48bc-a584-f95553f8ae0a",
"path": "",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Teleport Mode Cancel",
"action": "Position",
"isComposite": false,
"isPartOfComposite": false
"isPartOfComposite": true
},
{
"name": "",
"id": "919c4a6c-22ed-4083-8e14-f30e91ff59fe",
"path": "<XRController>{RightHand}/Primary2DAxis",
"interactions": "Sector(directions=-1,sweepBehavior=3)",
"id": "6011e1e6-b2dd-4cb1-8da5-29b03868f2c5",
"path": "<XRController>{RightHand}/*",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Teleport Select",
"action": "Haptic Device",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "f7e6d19f-8306-47c9-8ca9-d3b6137565dc",
"path": "<XRController>{RightHand}/primaryButton",
"id": "03ccbaec-eeca-4fc4-8281-ee1758b4eb9b",
"path": "<XRController>{RightHand}/trackingState",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Teleport Select",
"action": "Tracking State",
"isComposite": false,
"isPartOfComposite": false
}
]
},
{
"name": "XRI RightHand Interaction",
"id": "461bce25-7762-40c5-b639-f190649be6d6",
"actions": [
{
"name": "Select",
"type": "Button",
"id": "ac96c10b-c955-4a46-8e67-bf16bc069b53",
"expectedControlType": "Button",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "Vector 3 Fallback",
"id": "74e968f1-ad08-4a82-a68d-764517faecef",
"path": "Vector3Fallback",
"name": "Select Value",
"type": "Value",
"id": "39bbf1ac-21a3-413d-90f6-6dbf6efeaabe",
"expectedControlType": "Axis",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Activate",
"type": "Button",
"id": "41976d89-60de-4deb-bff9-16b4af96b290",
"expectedControlType": "Button",
"processors": "",
"groups": "",
"action": "Position",
"isComposite": true,
"isPartOfComposite": false
"interactions": "",
"initialStateCheck": false
},
{
"name": "first",
"id": "9717e367-64a4-440a-9974-1e641d753eb2",
"path": "<XRController>{RightHand}/pointerPosition",
"name": "Activate Value",
"type": "Value",
"id": "c3ca6ed7-3d25-44a2-b1d8-5be4eb699370",
"expectedControlType": "Axis",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "UI Press",
"type": "Button",
"id": "65174b45-c2ee-4f90-93bb-fb4084eaaab3",
"expectedControlType": "Button",
"processors": "",
"groups": "Generic XR Controller",
"action": "Position",
"isComposite": false,
"isPartOfComposite": true
"interactions": "",
"initialStateCheck": false
},
{
"name": "second",
"id": "0794a41d-29ef-48ec-a452-6b7de29b52fa",
"path": "<XRController>{RightHand}/devicePosition",
"name": "UI Press Value",
"type": "Value",
"id": "962ac033-ec42-4981-88a4-551ad9be6ecb",
"expectedControlType": "Axis",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Rotate Anchor",
"type": "Value",
"id": "9b5d8312-f609-4895-b70f-81a722b2ae11",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Translate Anchor",
"type": "Value",
"id": "6f7cf253-7062-443b-b10f-2be48a33f027",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
}
],
"bindings": [
{
"name": "",
"id": "1ce80054-410d-4112-a332-50faa7fb4f23",
"path": "<XRController>{RightHand}/gripPressed",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Position",
"action": "Select",
"isComposite": false,
"isPartOfComposite": true
"isPartOfComposite": false
},
{
"name": "third",
"id": "3ef0a781-60c5-48bc-a584-f95553f8ae0a",
"path": "",
"name": "",
"id": "dd433817-216c-46b9-8dd3-f3a4ea1767b9",
"path": "<XRController>{RightHand}/grip",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Position",
"action": "Select Value",
"isComposite": false,
"isPartOfComposite": true
"isPartOfComposite": false
},
{
"name": "",
"id": "1ce80054-410d-4112-a332-50faa7fb4f23",
"path": "<XRController>{RightHand}/gripPressed",
"id": "fa59aed1-ae0b-4074-a58c-294b85f46228",
"path": "<XRController>{RightHand}/triggerPressed",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Select",
"action": "Activate",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "92bb5b8f-bf48-4dab-af05-50a865773895",
"path": "<XRController>{RightHand}/triggerPressed",
"id": "150f414f-61bf-47b1-b4f8-f772a2a40565",
"path": "<XRController>{RightHand}/trigger",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "UI Press",
"action": "Activate Value",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "d6c08c3d-3d41-4695-994d-1ac9016a5a9e",
"path": "<XRController>{RightHand}/Primary2DAxis",
"interactions": "Sector(directions=12,sweepBehavior=1),Sector(directions=2,sweepBehavior=2)",
"id": "92bb5b8f-bf48-4dab-af05-50a865773895",
"path": "<XRController>{RightHand}/triggerPressed",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Turn",
"action": "UI Press",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "6011e1e6-b2dd-4cb1-8da5-29b03868f2c5",
"path": "<XRController>{RightHand}/*",
"id": "5b4ef08d-9ddd-4f0a-8539-d1114d14d143",
"path": "<XRController>{RightHand}/trigger",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Haptic Device",
"action": "UI Press Value",
"isComposite": false,
"isPartOfComposite": false
},
......@@ -1003,48 +974,101 @@
"action": "Translate Anchor",
"isComposite": false,
"isPartOfComposite": true
}
]
},
{
"name": "XRI RightHand Locomotion",
"id": "99ce76d3-82c5-4289-9670-2ecffa6833fd",
"actions": [
{
"name": "Teleport Select",
"type": "Value",
"id": "02e43582-8973-4940-af06-dff6158e3df2",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "",
"id": "03ccbaec-eeca-4fc4-8281-ee1758b4eb9b",
"path": "<XRController>{RightHand}/trackingState",
"name": "Teleport Mode Activate",
"type": "Value",
"id": "a6c7231d-c55d-4dd4-9e87-877bb5522ef5",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Teleport Mode Cancel",
"type": "Button",
"id": "d587b60c-39a0-4365-8075-477ce484ba0f",
"expectedControlType": "Button",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "Turn",
"type": "Value",
"id": "9fb2eb2b-2fb6-4328-8167-10a1bf11b424",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Move",
"type": "Value",
"id": "00a4dc9f-1ee6-4349-b0e9-72d5dccaadd6",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
}
],
"bindings": [
{
"name": "",
"id": "919c4a6c-22ed-4083-8e14-f30e91ff59fe",
"path": "<XRController>{RightHand}/Primary2DAxis",
"interactions": "Sector(directions=-1,sweepBehavior=3)",
"processors": "",
"groups": "Generic XR Controller",
"action": "Tracking State",
"action": "Teleport Select",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "dd433817-216c-46b9-8dd3-f3a4ea1767b9",
"path": "<XRController>{RightHand}/grip",
"interactions": "",
"id": "62690862-4688-4010-975b-b3d9c6062157",
"path": "<XRController>{RightHand}/Primary2DAxis",
"interactions": "Sector(directions=1)",
"processors": "",
"groups": "Generic XR Controller",
"action": "Select Value",
"action": "Teleport Mode Activate",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "150f414f-61bf-47b1-b4f8-f772a2a40565",
"path": "<XRController>{RightHand}/trigger",
"id": "de466e6e-12bf-46a1-b0fd-ffbc343f3399",
"path": "<XRController>{RightHand}/gripPressed",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Activate Value",
"action": "Teleport Mode Cancel",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "5b4ef08d-9ddd-4f0a-8539-d1114d14d143",
"path": "<XRController>{RightHand}/trigger",
"interactions": "",
"id": "d6c08c3d-3d41-4695-994d-1ac9016a5a9e",
"path": "<XRController>{RightHand}/Primary2DAxis",
"interactions": "Sector(directions=12,sweepBehavior=1),Sector(directions=2,sweepBehavior=2)",
"processors": "",
"groups": "Generic XR Controller",
"action": "UI Press Value",
"action": "Turn",
"isComposite": false,
"isPartOfComposite": false
}
......
......@@ -13,7 +13,7 @@
"com.unity.textmeshpro": "2.1.4",
"com.unity.ugui": "1.0.0",
"com.unity.xr.arsubsystems": "2.1.16",
"com.unity.xr.interaction.toolkit": "2.0.0",
"com.unity.xr.interaction.toolkit": "2.0.1",
"com.unity.xr.management": "3.2.17",
"com.unity.xr.oculus": "1.8.1",
"com.unity.xr.windowsmr": "2.6.1",
......
......@@ -145,7 +145,7 @@
"url": "https://packages.unity.com"
},
"com.unity.xr.interaction.toolkit": {
"version": "2.0.0",
"version": "2.0.1",
"depth": 0,
"source": "registry",
"dependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment