PSMoveSteamVRBridge
Public Member Functions | Protected Member Functions | List of all members
steamvrbridge::PSMoveController Class Reference
Inheritance diagram for steamvrbridge::PSMoveController:
Inheritance graph
[legend]
Collaboration diagram for steamvrbridge::PSMoveController:
Collaboration graph
[legend]

Public Member Functions

 PSMoveController (PSMControllerID psmControllerID, vr::ETrackedControllerRole trackedControllerRole, const char *psmSerialNo)
 
vr::EVRInitError Activate (vr::TrackedDeviceIndex_t unObjectId) override
 TrackableDevice Interface.
 
void Deactivate () override
 
vr::ETrackedDeviceClass GetTrackedDeviceClass () const override
 
void Update () override
 
void RefreshWorldFromDriverPose () override
 
const char * GetControllerSettingsPrefix () const override
 
bool HasPSMControllerId (int ControllerID) const override
 
const PSMController * GetPSMControllerView () const override
 
std::string GetPSMControllerSerialNo () const override
 
PSMControllerType GetPSMControllerType () const override
 
- Public Member Functions inherited from steamvrbridge::Controller
 Controller ()
 Controller Interface.
 
bool CreateButtonComponent (ePSMButtonID button_id)
 
bool CreateAxisComponent (ePSMAxisID axis_id)
 
bool CreateHapticComponent (ePSMHapicID haptic_id)
 
void UpdateButton (ePSMButtonID button_id, PSMButtonState button_state, double time_offset=0.0)
 
void UpdateAxis (ePSMAxisID axis_id, float axis_value, double time_offset=0.0)
 
void UpdateHaptics (const vr::VREvent_HapticVibration_t &hapticData)
 
bool HasButton (ePSMButtonID button_id) const
 
bool HasAxis (ePSMAxisID axis_id) const
 
bool HasHapticState (ePSMHapicID haptic_id) const
 
bool GetButtonState (ePSMButtonID button_id, PSMButtonState &out_button_state) const
 
bool GetAxisState (ePSMAxisID axis_id, float &out_axis_value) const
 
HapticStateGetHapticState (ePSMHapicID haptic_id)
 
- Public Member Functions inherited from steamvrbridge::TrackableDevice
virtual void EnterStandby () override
 
virtual void * GetComponent (const char *pchComponentNameAndVersion) override
 
virtual void DebugRequest (const char *pchRequest, char *pchResponseBuffer, uint32_t unResponseBufferSize) override
 
virtual vr::DriverPose_t GetPose () override
 
virtual vr::ETrackedControllerRole GetTrackedDeviceRole () const
 
virtual bool IsActivated () const
 
PSMPosef GetWorldFromDriverPose ()
 
virtual const char * GetSteamVRIdentifier () const
 
virtual const vr::TrackedDeviceIndex_t getTrackedDeviceIndex ()
 
vr::PropertyContainerHandle_t getPropertyContainerHandle () const
 

Protected Member Functions

const PSMoveControllerConfiggetConfig () const
 
ControllerConfigAllocateControllerConfig () override
 

Additional Inherited Members

- Protected Attributes inherited from steamvrbridge::Controller
ControllerConfigm_config
 
- Protected Attributes inherited from steamvrbridge::TrackableDevice
vr::PropertyContainerHandle_t m_ulPropertyContainer
 
std::string m_strSteamVRSerialNo
 
vr::ETrackedControllerRole m_TrackedControllerRole
 
vr::TrackedDeviceIndex_t m_unSteamVRTrackedDeviceId
 
vr::DriverPose_t m_Pose
 
unsigned short m_firmware_revision
 
unsigned short m_hardware_revision
 

The documentation for this class was generated from the following files: