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

Unable to get button states on WaveSDK 3.0.2


pascalvanbeek
 Share

Recommended Posts

Hi all, 

I'm upgrading our project from 2.1.0 to 3.0.2. Suddenly the code to get the button states doesn't seem to work anymore.

I've changed my code from 

WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_Controller_Right).GetPress(wvr.WVR_InputId.WVR_InputId_Alias1_Menu));

to

WaveVR_Controller.Input(WaveVR_Controller.EDeviceType.Dominant).GetPress(wvr.WVR_InputId.WVR_InputId_Alias1_Menu));

But that didn't help. 

Even the test code from https://hub.vive.com/storage/docs/en-us/WaveVR_Controller.html :

WaveVR_Controller.Input (WaveVR_Controller.EDeviceType.Dominant).GetPress (wvr.WVR_InputId.WVR_InputId_Alias1_Trigger);

doesn't ever give me 'true'. 

I have read https://hub.vive.com/storage/docs/en-us/WaveVR_ButtonList.html?highlight=buttons but I'm not interested in getting button events, I just want to check the current state.

Any clues? Am I missing something obvious?

Thanks a lot!

Martijn

@Tony PH Lin @Cotta

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...