ericlbarrett / XOutput

A small DirectInput to Xinput wrapper
GNU Lesser General Public License v3.0
159 stars 43 forks source link

Mapp Keyboard buttons. #22

Open colhemm opened 8 years ago

colhemm commented 8 years ago

Hi, Your XOutput has been a really big help to me after a road traffic accident. I've been unable to hold the Xbox one controller for my Oculus rift.

Now I can use any controller but I also need to map the keyboard to the Xbox one controller, would it be posable to also add that option in the XOutput Controller Options.

Thanks for any help.

billyisms commented 8 years ago

I have been accomplishing what you are trying to do with two programs called vJoy and UCR. I installed vJoy which creates a virtual controller on your computer. http://vjoystick.sourceforge.net/site/

UCR is a program which evilC has created: https://github.com/evilC/UCR.

Once you have UCR running, you can bind keys from a joystick and keyboard to simultaneously work as input for the vjoy controller. Then use xoutput to convert the vJoy controller to an xbox controller.

colhemm commented 8 years ago

Hi billyisms, Thanks for your great advice it worked like a charm. I now have keyboard and joystick working in my Oculus Rift, and now I'm adding voice commands to the keyboard for voice control of the Oculus Rift. Great stuff!

billyisms commented 8 years ago

That's great news colhemm! I have been using Dragon Naturallyspeaking to accomplish the exact same thing, lol. I am surprised it hasn't been discovered how amazing the microphone is in the Rift. I have been using voice commands along with an analog stick in Blazerush and it has been pretty fun.

The same developer of vJoy is working on a virtual xbox controller: https://github.com/shauleiz/vXboxInterface

I haven't been able to get it to work yet, but once it does, it will eliminate the need to have xoutput running. I think they are still working on it, so we might have to wait for it to be a little more user friendly.

This will open the door for many physically impaired people to use virtual reality.

colhemm commented 8 years ago

Wow! that's great news, it would be nice to make the whole setup more simple and easier.

I've been using VoiceBot to setup the speech, it gives you loads of options as to how the button is pressed, it also has lot's of game profiles that you can add and save you loads of time setting up the keys.

The one remaining problem I sill have is, XOutput creates an Xbox 360 controller, it would be much better if it could use my Xbox one controller drivers. If you know how to fix this, i'd love to know how.

Thanks for the great advice again, I'm now going to try the vXboxInterface and see if it works.

billyisms commented 7 years ago

I apologize for missing your comment. I haven't found a solution for getting an Xbox One controller emulated. I haven't had any trouble getting the Xbox 360 controller created by Xoutput working with the Oculus Rift as long as I have the physical Xbox One Controller disconnected from the computer.

I am just getting caught back up with all these projects after a few months, so just let me know if you are running into any issues getting the software working. I want to be able to emulate the Oculus Touch controllers, and will let you know if I have any success.