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 37 forks source link
elite-dangerous elite-vr-cockpit hotas steamvr-overlay vr

Elite VR Cockpit (Alpha)

Elite VR Cockpit is a SteamVR overlay for Elite Dangerous. The overlay is currently in an early alpha stage but contains a fair bit of basic functionality.

Note: The early alpha has only been tested on the Valve Index with Index controllers and the Vive with the Vive wands. Bindings for Oculus Touch controllers and WMR are included, but recieve no testing and may be missing controls due to their limited inputs.

Throttle Joystick 6DOF Controller Buttons Map

Warning for OpenVR Advanced Settings users

OpenVR Advanced Settings (OVAS) alters how SteamVR's tracking origins and seated position resets function. Two times in the past this has resulted in an OVAS bug that breaks the Elite VR Cockpit overlay or breaks Elite Dangerous. If you use OVAS please make sure you are running the latest version to ensure you are not running one of the broken versions of OVAS. Additionally if you encounter a bug where resetting the seated position does not work or the cockpit overlay is in the wrong location and resetting the seated position does not work, please uninstall OpenVR Advanced Settings first and check that the bug still exists before reporting it as a bug in Elite VR Cockpit.

Features

Seated position reset

The overlay has a seated position reset binding that can be bound to buttons on the VR controllers. This will reset your seated position to your current HMD location. Without needing to grab your keyboard or open the SteamVR dashboard settings.

Virtual throttle and joystick

A virtual throttle and virtual joystick are located in the location of the in-game's throttle and joystick.

HAT/POV switch

When grabbing the joystick the trackpads and thumbsticks on your controller are bound to 2 separate joystick HAT/POV switches and a pair of HAT/POV center buttons (which are associated with BTN4 and BTN5). You can check what inputs are bound to what POVs on the controls panel that is visible when edit mode and menu mode are both turned on.

If you have a thumbstick then thumbstick directions will be bound to directions on one of the POVs and thumbstick click will be bound to that POV's center button.

If you have a small trackpad then swipes on that trackpad will be bound to directions on one of the POVs and trackpad press will be bound to that POV's center button.

However if you have a large trackpad like on the Vive wands this trackpad may be bound to 2 POVs.

Trackpad HAT Regions

For example on the Vive you could bind BTN4 to UI select. The POV2 direction to UI navigation directions like an omidirectional scroll wheel. And POV1 left/right to next/previous category. Which would allow you to slide your finger on the trackpad to navigate through holo panel options, press the edges of the trackpad to switch panel categories, and press the middle to select.

On controllers with both a small trackpad and a thumbstick you could bind one of the POVs to UI navigation and the other to next/previous category.

Holographic buttons

The overlay provides a variety of ship functions as holographic buttons.

Elite Dangerous integration

The overlay is integrated with the status API provided by the game.

License

See the LICENSE.md file for license information.