Skip to content

Commit 5d23f18

Browse files
author
lawwong
committed
Update to v1.16.0
* Changes - Add **Vive Wrist Tracker** support - Requires latest Wave XR plugin (v4.3+) - Able to work with ViveRole binding system - More Oculus platform support - Now able to recognize Quest 2 controllers (VRModuleDeviceModel.OculusQuest2ControllerLeft/Right) - Add new setting options - Enable/Disable Oculus Hand Tracking - Enable/Disable Tracked Hand Render Model - Enable/Disable Oculus Controller Render Model - Enable/Disable Hand Attached to Oculus Controller Render Model * Bug fixes - Fix HandRole doesn't map other controller role correctly - Fix sometimes unable to enable/disable Wave HandTracking/WristTracker features in VIUSettings - Fix Oculus SDK Render Model broken when switching back from tracked hand - Fix compatibility with older Oculus SDK version
2 parents 3ec6827 + 70fe1f2 commit 5d23f18

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2549
-1358
lines changed

Assets/HTC.UnityPlugin/HTC.ViveInputUtility.asmdef

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"name": "HTC.ViveInputUtility",
3-
"rootNamespace": "",
43
"references": [
54
"Unity.XR.Management",
65
"SteamVR",
@@ -16,7 +15,8 @@
1615
"HTC.ViveHandTracking",
1716
"Wave.Essence.Controller.Model",
1817
"Unity.InputSystem",
19-
"Unity.XR.OpenXR"
18+
"Unity.XR.OpenXR",
19+
"Wave.XRSDK"
2020
],
2121
"includePlatforms": [],
2222
"excludePlatforms": [],

Assets/HTC.UnityPlugin/VRModule/Modules/Editor/WaveVRModuleEditor.cs

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,37 @@ public WaveVRSymbolRequirementCollection()
261261
},
262262
reqFileNames = new string[] { "WaveXRBuildCheck.cs" },
263263
});
264+
265+
Add(new SymbolRequirement()
266+
{
267+
symbol = "VIU_WAVEVR_TRACKER",
268+
reqMethods = new SymbolRequirement.ReqMethodInfo[]
269+
{
270+
new SymbolRequirement.ReqMethodInfo()
271+
{
272+
typeName = "Wave.Native.Interop",
273+
name = "WVR_StartTracker",
274+
bindingAttr = BindingFlags.Public | BindingFlags.Static,
275+
}
276+
},
277+
reqFileNames = new string[] { "wvr.cs" },
278+
});
279+
280+
Add(new SymbolRequirement()
281+
{
282+
symbol = "VIU_WAVEVR_TRACKER_CHECK",
283+
reqMethods = new SymbolRequirement.ReqMethodInfo[]
284+
{
285+
new SymbolRequirement.ReqMethodInfo()
286+
{
287+
typeName = "Wave.XR.BuildCheck.CheckIfTrackerEnabled",
288+
name = "ValidateEnabled",
289+
argTypeNames = new string[0],
290+
bindingAttr = BindingFlags.Public | BindingFlags.Static,
291+
}
292+
},
293+
reqFileNames = new string[] { "WaveXRBuildCheck.cs" },
294+
});
264295
}
265296
}
266297
}

0 commit comments

Comments
 (0)