Jump to content
Happy Holidays! Limited Staff Responses: 1/20 - 1/31 ×

WVR_GetDefaultControllerRole always reporting right hand?


rbarker
 Share

Recommended Posts

SDK/docs/en/WVR_GetDefaultControllerRole.html#wvr-getdefaultcontrollerrole

I am trying to support left handed contorllers in my native application. In VivePort, the controller is left handed, but when running in my native SDK based app, the controller seems to always be reported as right handed?

 

The following code always prints "RIGHT HAND!":

WVR_DeviceType role = WVR_GetDefaultControllerRole();
if (role == WVR_DeviceType_Controller_Right) {
// first controller is right hand
VRB_LOG("RIGHT HAND!");
} else if (role == WVR_DeviceType_Controller_Left) {
// first controller is left hand
VRB_LOG("LEFT HAND!");
}

 What is the correct way to query the hand preference for the controller?

Link to comment
Share on other sites

I am running ROM 1.21. I did switch to left and in the settings menu. And I do see the controller in the left hand in VivePort. In my native app how ever is WVR_GetDefaultControllerRole always returns right hand.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...