|
| 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 |
|
HapticState * | GetHapticState (ePSMHapicID haptic_id) |
|
virtual const char * | GetControllerSettingsPrefix () const =0 |
|
virtual bool | HasPSMControllerId (int ControllerID) const =0 |
|
virtual const PSMController * | GetPSMControllerView () const =0 |
|
virtual std::string | GetPSMControllerSerialNo () const =0 |
|
virtual PSMControllerType | GetPSMControllerType () const =0 |
|
vr::EVRInitError | Activate (vr::TrackedDeviceIndex_t unObjectId) override |
| TrackableDevice Interface.
|
|
void | Deactivate () override |
|
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::ETrackedDeviceClass | GetTrackedDeviceClass () const |
|
virtual vr::ETrackedControllerRole | GetTrackedDeviceRole () const |
|
virtual bool | IsActivated () const |
|
virtual void | Update () |
|
virtual void | RefreshWorldFromDriverPose () |
|
PSMPosef | GetWorldFromDriverPose () |
|
virtual const char * | GetSteamVRIdentifier () const |
|
virtual const vr::TrackedDeviceIndex_t | getTrackedDeviceIndex () |
|
vr::PropertyContainerHandle_t | getPropertyContainerHandle () const |
|