I am in the process of migrating to the new Wave XR Plugin from the legacy VR plugin which I have been using for a while. So far I have got the XR rig camera/controller setup and a basic scene working on my Vive Focus+.
LEGACY VR PLUGIN:
My code was using 'WaveVR_Init' from the legacy vr plugin which was updating device events (like swipe, etc.). via its update method (below) and subscriptions were possible through 'WaveVR_Utils'. Code snippets from the legacy plugin usage below:
WVR_Event_t vrevent = new WVR_Event_t ();
bool ret = Interop.WVR_PollEventQueue (ref vrevent);
private void ProcessEvent(object args)
What is the best way to get all native device event updates in the new XR Plugin? I have the latest Vive Essence package downloaded. That has a 'WaveEssence' mono-behavior but most of the code in that is commented and it does not provide any device events.
There is another script 'SystemEvent' in the Essence package which seems to deal with device event subscriptions. I do not see any example usage for it whether I just need to add it to my scene and subscribe to the event listener?
Any help would be appreciated since I am just trying to move over.