Package gaiasky.vr.openvr
Interface VRDeviceListener
-
- All Known Implementing Classes:
OpenVRListener
public interface VRDeviceListener
-
-
Method Summary
-
-
-
Method Detail
-
connected
void connected(VRContext.VRDevice device)
A newVRContext.VRDevicehas connected
-
disconnected
void disconnected(VRContext.VRDevice device)
AVRContext.VRDevicehas disconnected
-
buttonPressed
void buttonPressed(VRContext.VRDevice device, int button)
A button fromVRContext.VRControllerButtonswas pressed on theVRContext.VRDevice
-
buttonReleased
void buttonReleased(VRContext.VRDevice device, int button)
A button fromVRContext.VRControllerButtonswas released on theVRContext.VRDevice
-
buttonTouched
void buttonTouched(VRContext.VRDevice device, int button)
A button fromVRContext.VRControllerButtonswas touched on theVRContext.VRDevice
-
buttonUntouched
void buttonUntouched(VRContext.VRDevice device, int button)
A button fromVRContext.VRControllerButtonswas untouched on theVRContext.VRDevice
-
axisMoved
void axisMoved(VRContext.VRDevice device, int axis, float valueX, float valueY)
An axis fromVRContext.VRControllerAxeswas moved on theVRContext.VRDevice
-
event
void event(int code)
Unhandled event on theVRContext.VRDevice- Parameters:
code- Event code
-
-