Jump to content

Input systme doesn't work with the latest WaveVR SDK


demonixis

Recommended Posts

Hello,

I can't get the input system to work since I've updated to the latest version of the SDK. I tried to create a gameobject and adding the WaveVR_ButtonList, as explained in that article but it changes nothing. Have you any clues to fix that? I've a game almost ready for a release on the store, this is the last issue. I can also share the code with the Vive Focus Team if necessary.

Thanks.

Link to comment
Share on other sites

Hi  ,

 

Sorry for late reply, thanks for your feedback.

We look into your code, and please check our comment below.

1. Developer should not handle the “left-handed” mode for using WaveVR_Controller.

If developer use only 1 controller, the “controller” would always be “WVR_DeviceType_Controller_Right”.

The unique condition of using “WVR_DeviceType_Controller_Left” is that developer uses 2 controllers concurrently and needs to get the status of left controller.

No matter 1 or 2 controller(s) condition, developer never needs to check “WaveVR_Controller.IsLeftHanded” before using “WaveVR_Controller.Input”.
Because WaveVR_Controller handles the left-handed mode automatically.

 

2. Developer uses many buttons in code:

including Trigger / DPad_Up / Menu / Grip / DPad_Left / DPad_Right and System.

So developer needs to specify these keys in WaveVRButton (drag from Assets/WaveVR/Prefabs) as below:

And I see that “System” key is specified but it is not allowed.

If developer wants a key mapping to “Thumbstick”, just specify “Thumbstick” in WaveVRButtons like:

Please have a try, and provide android logcat (must enable DEBUG level in AP) if buttons are still not workable.

Thanks.

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
×
×
  • Create New...