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

(Pico Neo/Unity) Headset "confirm" button not detected by Wave SDK, on Pico Neo


cmdr2
 Share

Recommended Posts

Hi,

 

While integrating the Wave SDK using Unity, I noticed that the main "confirm" button on the Pico Neo headset is not detected by the Wave SDK. The back button on the headset works (gets sent as KeyCode.Escape in Unity), but not the main "confirm" button.

 

I'm using the WVR_DeviceType_HMD, and checked all the possible buttons, but none returned true, when the headset button is pressed. My code:

 

void Update() { // nothing returns true       print("btn: "             + ", " + Input.GetButton("Fire1")             + ", " + Input.GetKey(KeyCode.Escape) + ", " + Input.anyKey             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_0)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_1)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_2)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_3)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_4)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_5)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_6)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_7)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_8)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_9)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_16)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_17)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_Max)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_Alias1_DPad_Down)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_Alias1_Trigger)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_Alias1_Digital_Trigger)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_Alias1_Menu)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_Alias1_Touchpad)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_Alias1_Volume_Up)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_Alias1_Grip)             + ", " + WaveVR_Controller.Input(wvr.WVR_DeviceType.WVR_DeviceType_HMD).GetPress(wvr.WVR_InputId.WVR_InputId_Alias1_System));}

I'm planning to use the headset "confirm" button for the gaze-based menu, as an alternative to waiting for the reticle. I'd really appreciate your help, incase I'm using this incorrectly.

 

Thanks!

~cmdr2

 

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