rbarker Posted April 18, 2018 Share Posted April 18, 2018 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 More sharing options...
headgear Posted April 18, 2018 Share Posted April 18, 2018 Having a similar issue :( Link to comment Share on other sites More sharing options...
Tony PH Lin Posted April 19, 2018 Share Posted April 19, 2018 Try to updat ROM to version 1.21 first, and you will see "Right/Left Hand" switch on Setting overlay. You can check to change Right or Left hand, and you should receive the value changing regarding to WVR_GetDefaultControllerRole. Thanks. Link to comment Share on other sites More sharing options...
rbarker Posted April 19, 2018 Author Share Posted April 19, 2018 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 More sharing options...
Tony PH Lin Posted April 20, 2018 Share Posted April 20, 2018 Do your native apps built on previous SDK (2.0.23)? It requires to build apps based on 2.0.32 (latest one) with ROM1.21 since Right/Left Hand feature is enabled just now. Link to comment Share on other sites More sharing options...
headgear Posted April 20, 2018 Share Posted April 20, 2018 I'm using the unreal plugin for 4.17: WaveSDK_UnrealPlugin_20180131 which appears to be the previous SDK version. Could I get a link to the new plugin with the newer SDK in it? Many thanks in advance! Link to comment Share on other sites More sharing options...
Tony PH Lin Posted April 20, 2018 Share Posted April 20, 2018 Here you are. https://vivedeveloper.com/knowledgebase/wave-sdk/ Link to comment Share on other sites More sharing options...
rbarker Posted April 23, 2018 Author Share Posted April 23, 2018 Upgrading to the latest SDK fixed the issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.