Jump to content

HTC vive how to change controllers


photo

Recommended Posts

Hi, lightmap!

We use OpenVR lib ( https://github.com/ValveSoftware/openvr ) for the AppVive plugin.
engine.vive.getDeviceType uses ETrackedDeviceClass GetTrackedDeviceClass(vr::TrackedDeviceIndex_t) method.
engine.vive.getDevicePose uses HmdMatrix34_t TrackedDevicePose_t::mDeviceToAbsoluteTracking field.
engine.vive.getControllerButtonPressed uses bool GetControllerState( vr::TrackedDeviceIndex_t unControllerDeviceIndex, vr::VRControllerState_t *pControllerState, uint32_t unControllerStateSize ), etc.

So, if OpenVR support any custom-made device (or Oculus Touch), then you can use it without any problem.

Best regards,
Alexander

  • Like 1
Link to comment
×
×
  • Create New...