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
323 stars 36 forks source link

Binding POVs on the throttle, UI over-scroll #246

Open Splintersm opened 3 years ago

Splintersm commented 3 years ago

First off THANK YOU SO MUCH! your doing gods work, i was never gonna play ED due to the lack of motion controller support, thanks to this i finally got it! im only sad it took me so long to hear about it. Issue:

  1. Im using the Oculus Quest 2 with Vlink. I cant seem to bind the V Joystick when using the throttle like i cant with the V joystick, I also cant map one of the 2 buttons on the throttle, is this a bug or a feature that's yet to be implemented?
  2. Also when using the joysticks on the V joystick to navigate the UI I over scoll, a little movement from the joystick translates to 2 scrolls instead of 1 most often and sometimes 3 scrolls.
  3. is there a way to chance the deadzone on the V joystick?
dantman commented 3 years ago

1. I cant seem to bind the V Joystick when using the throttle like i cant with the V joystick, I also cant map one of the 2 buttons on the throttle, is this a bug or a feature that's yet to be implemented?

The thumbstick? The throttle doesn't have any POVs yet. I want to implement the 3DOF thruster controls before I figure out what to do with the POVs on the throttle.

The Oculus A/B buttons were missing bindings in 0.8.0, make sure you're on 0.9.0.

2. Also when using the joysticks on the V joystick to navigate the UI I over scoll, a little movement from the joystick translates to 2 scrolls instead of 1 most often and sometimes 3 scrolls.

I don't have enough information on this, no-one has reported that before. I don't emit individual UI commands, when you have POV1-UP bound to UI_Up and you push the stick up I set POV1-UP to pressed and when you release the stick I set the POV1-UP to unpressed, so to ED this is UI_Up being started when you push the stick and UI_Up ending when you release the stick. The moving up multiple times when you hold it is done by ED.

3. is there a way to chance the deadzone on the V joystick?

If you use the "Edit" button in the edit panel controls to bring up the SteamVR Input bindings panel the joysticks bindings may have a deadzone control in them, I don't recall for sure.

Splintersm commented 3 years ago
  1. I cant seem to bind the V Joystick when using the throttle like i cant with the V joystick, I also cant map one of the 2 buttons on the throttle, is this a bug or a feature that's yet to be implemented?

The thumbstick? The throttle doesn't have any POVs yet. I want to implement the 3DOF thruster controls before I figure out what to do with the POVs on the throttle.

The Oculus A/B buttons were missing bindings in 0.8.0, make sure you're on 0.9.0.

  1. Also when using the joysticks on the V joystick to navigate the UI I over scoll, a little movement from the joystick translates to 2 scrolls instead of 1 most often and sometimes 3 scrolls.

I don't have enough information on this, no-one has reported that before. I don't emit individual UI commands, when you have POV1-UP bound to UI_Up and you push the stick up I set POV1-UP to pressed and when you release the stick I set the POV1-UP to unpressed, so to ED this is UI_Up being started when you push the stick and UI_Up ending when you release the stick. The moving up multiple times when you hold it is done by ED.

  1. is there a way to chance the deadzone on the V joystick?

If you use the "Edit" button in the edit panel controls to bring up the SteamVR Input bindings panel the joysticks bindings may have a deadzone control in them, I don't recall for sure.

1, the A/B button work its the Y button on the ;left controllers.

2--

3, --

dantman commented 3 years ago

Only Oculus controllers have X/Y buttons, in control mappings they are just considered A/B buttons.

The throttle doesn't have an Alt button yet. There are some other things that need implementing first.

Splintersm commented 3 years ago

Im confused, im using an ouculs quest, is this not supported? to be clear The A, B,and X can all be individually bound to a control but not the Y button only. is this intended?

Also as for the dead zones there are 5 category in the bindings: Default, menu, ui, cockpit controls and fsscontrols, witch would it be in?

dantman commented 3 years ago

Quest and Rift work. B/Y are bound to Alt.

However when grabbing the throttle there is no Alt binding right now for the B/Y button to emit. The throttle only has Primary and Secondary (bound to Trigger and A/X on Oculus Touch controllers). I there are other bits of functionality that may need buttons/axis on the throttle reserved for other purposes so I haven't given the throttle a full suite of POVs and buttons yet.

For dead zones you would tweak the controller's Joystick bindings in the SteamVR Input bindings in each of the categories, or whatever ones give you problems. Menu if you have issues in menu mode, UI if you have issues with navigation in the map, Cockpit Controls if you have issues with the POVs when grabbing the joystick, and FSSControls if you have issues in FSS mode.

jmcclure0921 commented 3 years ago

You can modify the controls in the steam bindings to bind POV2 to the left joystick.

dantman commented 3 years ago

You can modify the controls in the steam bindings to bind POV2 to the left joystick.

That is not what POV2 is for.

Meekohi commented 3 years ago
  1. Also when using the joysticks on the V joystick to navigate the UI I over scroll, a little movement from the joystick translates to 2 scrolls instead of 1 most often and sometimes 3 scrolls.

fwiw I see this as well, it seems very sensitive, as if each 'increment' you push the stick taps the equivalent keyboard button an additional time. I'll see if I can gather any more useful information from my setup.

PluckedPigeon commented 3 years ago

https://github.com/BOLL7708/OpenVR2Key works for me just make the left north/west/east/south areas bound to one of the keys using this program. you may need openvr as well not sure. just follow the instructions and your golden

boyestrous commented 2 years ago

@Meekohi @Splintersm Not sure if you still have this problem, but I got it to work by editing the "Thumbstick Settings" instead of the UI Binding. I tried all sorts of configurations in the UI and Menu bindings for the controllers, but the thumbstick deadzone is set elsewhere...No more over-scroll!

I have a Meta Quest 2 and am using SteamVR.

Steps: 1) Click left hand menu button to open Steam VR Controls 2) Instead of clicking "Controller Bindings", click the settings button for the game (lower-right corner, gear icon) 3) Click "Edit Thumbstick Settings" 4) Set thumbstick deadzone to 30%

I'm mainly using the thumbstick for UI and Menu Navigation, but I also deploy hardpoints, scan, and cycle targets with it. the 30% deadzone doesn't seem to interfere with any of that. I am unclear, however, if the deadzone is set for the controller for all games (I don't really play anything else)

Good luck!

@dantman THANK YOU SO MUCH FOR MAKING THIS!