Jump to content

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


cmdr2

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

Archived

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

×
×
  • Create New...