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.VRDevice
has connected
-
disconnected
void disconnected(VRContext.VRDevice device)
AVRContext.VRDevice
has disconnected
-
buttonPressed
void buttonPressed(VRContext.VRDevice device, int button)
A button fromVRContext.VRControllerButtons
was pressed on theVRContext.VRDevice
-
buttonReleased
void buttonReleased(VRContext.VRDevice device, int button)
A button fromVRContext.VRControllerButtons
was released on theVRContext.VRDevice
-
buttonTouched
void buttonTouched(VRContext.VRDevice device, int button)
A button fromVRContext.VRControllerButtons
was touched on theVRContext.VRDevice
-
buttonUntouched
void buttonUntouched(VRContext.VRDevice device, int button)
A button fromVRContext.VRControllerButtons
was untouched on theVRContext.VRDevice
-
axisMoved
void axisMoved(VRContext.VRDevice device, int axis, float valueX, float valueY)
An axis fromVRContext.VRControllerAxes
was moved on theVRContext.VRDevice
-
event
void event(int code)
Unhandled event on theVRContext.VRDevice
- Parameters:
code
- Event code
-
-