cmdr2 Posted January 24, 2019 Share Posted January 24, 2019 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 More sharing options...
Tony PH Lin Posted January 29, 2019 Share Posted January 29, 2019 Hi , Do you use SDK 2.1.8 or which version? Thanks. Link to comment Share on other sites More sharing options...
cmdr2 Posted January 29, 2019 Author Share Posted January 29, 2019 Hi, yes I'm using SDK 2.1.8. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.