matzman666 / OpenVR-InputEmulator

An OpenVR driver that allows to create virtual controllers, emulate controller input, manipulate poses of existing controllers and remap buttons. A client-side library that communicates with the driver via shared-memory is also included.
GNU General Public License v3.0
722 stars 138 forks source link

Use steam Controller to emulate Vive controller? #78

Open mijofa opened 6 years ago

mijofa commented 6 years ago

Firstly, I do apologise, as I don't think this is an actual issue. I just can't work out how to use this and there doesn't seem to be any other forum or similar that I can find.

As I understood it, I should be able to use a non-"VR" gamepad to emulate a motion tracked VR controller, but everything I've found in the settings seems to indicate it's the other way around with VR controllers emulating non-VR gamepad/keyboard controls.

I did use the commandline client to create a virtual controller, but am I able to map the virtual controls to a real gamepad or can I only control it using the CLI?

I am still using a DK2 (so I have no tracked controllers) and I have a Steam Controller, but the Steam Controller does not work as well in SteamVR as one would hope, so I was expecting I could make it work a little bit with this. Would be a hacky solution, that won't really be great a lot of the time, but good enough for some things anyway (and to scratch my VR itch before I can afford an upgrade)

mijofa commented 6 years ago

So as far as I can tell I'd need write my own program (perhaps based off client_commandline or client_leapmotion) which would listen for the gamepad inputs and trigger the Vive controller inputs. Looks like someone's started to do something like that with client_keyboard at https://github.com/fishirenee/OpenVR-InputEmulator

Is there any plan to support this kind of thing "officially"? The only real coding I do is in Python, and even less so on Windows, so I'm not real likely to end up doing this myself.