Defines the base class for VR controller event management.
DtOpenVREventManager(DtDe &de)
Constructor.
static DtVirtualRealityEventManager & instance(DtDe &de)
Gets the singleton instance of the OpenVR event manager.
virtual DtVirtualRealityControllerState::Bitfield findDeviceType(DtVirtualRealityControllerState::ControllerId deviceId) const
Determines the device type for a given controller ID.
virtual ~DtOpenVREventManager() override
Virtual destructor.
virtual void updateControllerState(DtVirtualRealityControllerState::ControllerId deviceId, DtVirtualRealityControllerState &state)
Updates controller state for a specific controller.
vr::IVRSystem * myVrSystem
Pointer to the OpenVR system interface.
Definition DtOpenVREventManager.h:112
DtOpenVREventManager()
Unused default constructor.
virtual void processVrEvents() override
Collects and dispatches events from the OpenVR system.
Encapsulates the complete state of a virtual reality controller.
Definition DtVirtualRealityControllerState.h:35
unsigned long long Bitfield
Type used for bit flags throughout the class.
Definition DtVirtualRealityControllerState.h:41
unsigned int ControllerId
Type used for controller identification.
Definition DtVirtualRealityControllerState.h:46
DtVirtualRealityEventManager()
Unused default constructor.
Definition appLauncherComponent.h:28
Definition DtOpenVREventManager.h:21
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.
Main header file for the VRV Virtual Reality Controller module.