Package gaiasky.interafce
Class OpenVRListener
java.lang.Object
gaiasky.interafce.OpenVRListener
- All Implemented Interfaces:
VRDeviceListener
public class OpenVRListener extends java.lang.Object implements VRDeviceListener
-
Constructor Summary
Constructors Constructor Description OpenVRListener(NaturalCamera cam) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OpenVRListener
-
-
Method Details
-
connected
Description copied from interface:VRDeviceListenerA newVRContext.VRDevicehas connected- Specified by:
connectedin interfaceVRDeviceListener
-
disconnected
Description copied from interface:VRDeviceListenerAVRContext.VRDevicehas disconnected- Specified by:
disconnectedin interfaceVRDeviceListener
-
update
public void update() -
buttonPressed
Description copied from interface:VRDeviceListenerA button fromVRContext.VRControllerButtonswas pressed on theVRContext.VRDevice- Specified by:
buttonPressedin interfaceVRDeviceListener
-
buttonReleased
Description copied from interface:VRDeviceListenerA button fromVRContext.VRControllerButtonswas released on theVRContext.VRDevice- Specified by:
buttonReleasedin interfaceVRDeviceListener
-
event
public void event(int code)Description copied from interface:VRDeviceListenerUnhandled event on theVRContext.VRDevice- Specified by:
eventin interfaceVRDeviceListener- Parameters:
code- Event code
-
buttonTouched
Description copied from interface:VRDeviceListenerA button fromVRContext.VRControllerButtonswas touched on theVRContext.VRDevice- Specified by:
buttonTouchedin interfaceVRDeviceListener
-
buttonUntouched
Description copied from interface:VRDeviceListenerA button fromVRContext.VRControllerButtonswas untouched on theVRContext.VRDevice- Specified by:
buttonUntouchedin interfaceVRDeviceListener
-
axisMoved
Description copied from interface:VRDeviceListenerAn axis fromVRContext.VRControllerAxeswas moved on theVRContext.VRDevice- Specified by:
axisMovedin interfaceVRDeviceListener
-