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

Fix/headlook init #334

Closed boyestrous closed 1 year ago

boyestrous commented 1 year ago

Fixed issue with cockpit initialization due to headlook mode being turned off.

The default GuiFocus is now "NoFocus" instead of "Unknown" when the status file doesn't have a value for GuiFocus. This matches the behavior of the game itself and allows the cockpit overlay to correctly enable the Mainship Anchor when the game first starts.

Also added 4 new holographic control buttons to allow the player to enable/disable the in-cockpit panels if they have headlook disabled.