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
716 stars 138 forks source link

Feature Request: Keyboard to controller inputs #42

Open Jenssons opened 6 years ago

Jenssons commented 6 years ago

so i have a vr treadmill and when you walk on it, it triggers the W key. will not all games use the Keyboard to move but more a button or analog stick/touchpad on the vr controller so im wondering if you can make it so we can bind keyboard keys to trigger the buttons on the controller so when i hit W it would move forward (in another sense)

Ralnarene commented 5 years ago

I have the same issue. I was following some instructions I saw on youtube, but they appear to not match up with my particular setup (for one thing, the guy was using Vive on a Mac, I'm using a Rift on a PC). I really want to play games like Fallout 4 VR, but it's infuriating to try to play on a treadmill when the computer will not acknowledge the input. Even more frustrating (but not the fault of OpenVR), I can tell that FO4VR DOES receive the input during loading screens, as the little objects it displays will respond to the W key press sent by the treadmill, but then it ignores the input in the actual gameplay. I just want to be able to map things so a W key press registers as pressing up on the right thumbstick on the Oculus touch controller.