Jump to content

Unable to get button states on WaveSDK 3.0.2


pascalvanbeek

Recommended Posts

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...