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

Trouble selecting anything in map screens #245

Closed cassandra288 closed 3 years ago

cassandra288 commented 3 years ago

Hi, When I am trying to select anything in the map screen UI's, it doesn't work. The control bindings are definitely set up correctly as I can select UI anywhere else in the game. It does work if you use the edit screen and click the right control there to send the input. I noticed in the log, whenever I press the correct button on my controller in a map screen to select the UI a warning shows up (once per press). image

Just to add: I am using the Oculus Rift S

dantman commented 3 years ago

You have a keyboard key bound to UI_Select, not a VJOY button, a keyboard key combo?

cassandra288 commented 3 years ago

These are my key bindings. UI_Select is bound to JOY2 image

dantman commented 3 years ago

You need a keyboard binding too. vJoy button bindings are for assigning inputs to whatever bindings you want. The keybinding code cannot read HOTAS bindings and reproduce them. The parts of the overlay that have hardcoded functionalities (i.e. a landing gear holo button that always emits the toggle landing gear keypress; a map controller that always emits UI_Select) read bindings from your custom bindings file and only understand keyboard bindings.