dantman / elite-vr-cockpit

A SteamVR Overlay providing a virtual throttle and joystick and holographic buttons for ship functions, with custom integration into Elite Dangerous
Other
322 stars 36 forks source link

Unable to navigate in menus - HTC Vive #254

Open pskerr opened 3 years ago

pskerr commented 3 years ago

I'm sure it is something I am doing, but any pointers would be helpful.

I believe I have all the in game mappings working, but I am unable to navigate around in any of the menus once in the cockpit.

Am I correct that I should expect to look at the menu, have it pop up, and then use the controller track pad to navigate around? (trigger to select, secondary to move to next tab.)

I get nothing.

The track pad works for navigating around the game menus when menu mode is turned on. I see the POV mappings in the control settings menu.

Thanks.

dantman commented 3 years ago

Am I correct that I should expect to look at the menu, have it pop up, and then use the controller track pad to navigate around? (trigger to select, secondary to move to next tab.)

No, there is too much delay in focus change to automatically switch modes. Also in the cockpit it's supposed to feel like you have hands and are interacting with the cockpit controls.

Map some of the POVs on the joystick to the UI controls to control the UI panels when you are looking at them (ED is fine with you binding the same button to both a UI function and another control like targeting).

pskerr commented 3 years ago

Sorry. I am being dense.

Do I take your response to mean that the directional focus change does not automatically switch to UI mode? If so, should I be adding holographic buttons to open the UI panels? Is there another way?

Is this what you mean by mapping the POVs to the UI controls? image

dantman commented 3 years ago

Yes, those are the UI control bindings. If you use the edit mode panel to bind POV directions to the UI panel directions (and center press or secondary/alt to stuff like select) you can control the panels while you are holding the joystick and looking at the panel.

In the future I'm thinking of adding a zone to control a panel in. But the headlook focus isn't communicated fast enough to rely on to switch modes. And I wouldn't want you to scramble to regain control of your ship in an emergency just because you took a quick look to the side.

MasterAcer commented 3 years ago

Hey man i just went through the same misunderstanding issue yesterday.

So, if you want to navigate UI you need to bind the POV1 and POV2 controls (that look like trackpads) to UI navigation. POV1 is for clicking on the edge and POV2 is for sliding motion on the trackpad. Both of these are for the right controller and you neeed to be holding the joystick for them to work (grip the axis like you are about to turn and then you can use the track pad when looking at a ui).

Basically the idea here is that it is like that a knob under your thumb that you can find on a lot of joysticks. And obviously you need to be holding the joystick to use it, hense you need to grip the virtual one in game,

pskerr commented 3 years ago

I get it now. Thanks for the help.

Just a fantastic tool. Two thumbs up.