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

Keyboard #11

Open dantman opened 5 years ago

dantman commented 5 years ago

We probably want a keyboard for the chat and the galaxy map search.

A simple way would be to call up the builtin steam VR keyboard. However I'm not sure if it interferes with usage when you're not trying to type. If it does we'll have to either make it summoned by a button press or make our own unobtrusive keyboard overlay.

If we have an unobtrusive overlay, we can probably make it always available when on the galaxy map or when the chat panel is focused.

mmorselli commented 5 years ago

for hotas users, it would be great if you could bind the virtual keyboard on hotas button, also selectting keys with hotas (or with a keyboard, if reading Direct Input buttons would be tricky, since many hotas can create profiles and emulate the keyboard)

dantman commented 5 years ago

also selectting keys with hotas

What kind of input are you thinking for selecting keys with a hotas?

mmorselli commented 5 years ago

the same keys used in Elite for UI PANEL UP, DOWN, LEFT, RIGHT, usually binded on Hotas POV1, could move a cursor on the virtual keyboard (highlighting selected key). Trigger to select.

Is the same way used by XBOX users to input text in Elite with the Xbox controller

dantman commented 5 years ago

I'll think about it. However, I while I can probably listen for the keys bound to UI directions. I cannot actually intercept and stop them. So the hotas buttons would still send UI input to the game moving the cursor around.

mmorselli commented 5 years ago

This could be solved with a shift, a button held down on the throttle. Elite supports combined keys, so they should be different for the game, not associated with UI directions. Anyway, a hotas like X52 has several POVs, only one typically used for the UI, and the cheap Hotas-X may change different profiles on the fly, I think.

Todd1215 commented 5 years ago

would you implement this as just another GUI button? maybe one like the ESC button so its always available, or like a button from the edit menu where you can add it if you want to? I think end-users always having choices is good.

Awhile ago I messed around with Unity and the SteamVR keyboard. I was hacking around with overlays from the OVRDrop git repo and implemented a version that could call up the keyboard. Just messing about with it really. I think its a feature that needs to be in any overlay for SteamVR.