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

Is there an option to intergrate a physical joystick? #291

Open Jamavo83 opened 3 years ago

Jamavo83 commented 3 years ago

Been using your software for a few days now, and absolutely love it. Great work and thank you.

I came across this YouTube video where he uses the left hand wand/controller for the virtual throttle and icons, but has a physical joystick programmed in for the right hand joystick and all the buttons on his joystick. I’d like to replicate this, but have no idea where to start. In the video you can see a graphical representation of his joystick and the orange icons around his controls, making me think he used the same program you did to control vjoy, but with a physical joystick?

I was just hoping you could point me in the right direction for what programs I need to learn to set this up.

Again, thank you for the amazing work. The link to the vid is here.

https://youtu.be/op3xuXKL-Hw

dantman commented 3 years ago

Basically all they've done is in Elite Dangerous' controls menu they've bound the overlay's throttle axis and the button(s) on the throttle to ED's throttle controls. But for the rest of the flight controls and UI controls, they've instead bound a physical joystick to those.

Hybrid controls like these aren't a priority for me right now. However I did add a toggle for controls, so you can turn the virtual joystick off and it is possible to play that way.

The graphical representation just looks like one of the many programs streamers use to take inputs from DirectInput/XInput and output them to a picture they can overlap over their stream. Though I've never heard of one that also reads from OpenVR.

Jamavo83 commented 3 years ago

Thats awesome. I don’t need the graphical representation.

Where do I access this toggle to turn the joystick off and allow a physical joystick? And can I run vjoy and the physical joystick at the same time and ED will recognize both? You don’t have to enable the steam controller option you mentioned in the “Getting Started” guide?

Thanks for the speedy reply btw.

dantman commented 3 years ago

Where do I access this toggle to turn the joystick off and allow a physical joystick?

It's in one of the tabs of the panel you get when edit mode (plus maybe menu mode) is on.

And can I run vjoy and the physical joystick at the same time and ED will recognize both?

Yes you can have multiple controllers on your computer. ED will just listen to all of them when it asks you what key/button/axis to bind to a control.

You don’t have to enable the steam controller option you mentioned in the “Getting Started” guide?

Elite VR Cockpit/vJoy will still require that option to be disabled for it to work. However that's probably what you want anyways. ED supports whatever API HOTAS uses natively. And as you are binding a HOTAS rather than a gamepad, Steam's generic gamepad support (which could try to "help" a HOTAS by thinking it's a gamepad) is more likely to stop your HOTAS from working than help you.

Jamavo83 commented 3 years ago

Again, thank you. I’ll take a look as soon as I get home and give it a try.

Keep up the great work.

Jamavo83 commented 3 years ago

Ooohhh, I just realized what toggles your talking about. Sorry, that should have been obvious. I didn’t even think of it.

jdawgzim commented 2 years ago

@Jamavo83 If you get this working please share some notes on how you did it.