lightmap Posted December 18, 2017 Share Posted December 18, 2017 (edited) Hello Using HTC vive HMD - is it possible to use oculus controllers ? or any custom-made device from steam_vr sensors (https://partner.steamgames.com/vrlicensing), and is there any custom api calls for that devices c#, uscript? any notes, thanks Edited December 18, 2017 by lightmap Link to comment
alexander Posted December 21, 2017 Share Posted December 21, 2017 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 1 Link to comment
Recommended Posts