Hi! I hope this is the right place to ask for help
Long story short, there are some VR games that do not support motion controls, but support gamepad/xbox controllers.
I have a script that sends the Rift controller inputs to a virtual Xbox controller (need to have vJoy and ViGEmBus installed to work).
So, 'A = A', 'X = X', 'RTrigger = RTrigger', 'Right stick axis = right stick axis', etc. The only buttons that aren't on the Rift controllers are the D-pad buttons. The script has been setup to use the Rift 'Grip buttons' as modifiers. While 'R/LTrigger = R/LTrigger', 'RGrip = Modifier1' and 'LGrip = Modifier2'.
I had tried to set up the AHK so that, 'Left stick = Left stick', and 'LGrip + Left stick = Dpad direction'. However, when I run the script, 'Left stick = nothing' and 'LGrip + Left stick = Left stick AND Dpad direction'. :/ (also want 'RGrip + Rstick UP/DOWN = LB/RB', but didn't get that far yet....)
Originally this is someone else's script, so apologies if this is a bit all over the place! I have also tried to use UCR and x360ce, but neither have borne me much luck.
Any help would be greatly appreciated! This is definitely reaching way beyond my limits.
https://p.ahkscript.org/?p=84873b1a - here is my modified script
https://p.ahkscript.org/?p=e7635ac9 - here is the original script that I butchered.
Ask gaming related questions
2 posts • Page 1 of 1
Sorry i haven't tried it, but i'd try to use UCR with vjoy and XOutput. UCR to bind the keys as input for the vjoy controller. Then use XOutput to convert the vJoy controller to an Xbox360 controller. It should work.I have also tried to use UCR and x360ce, but neither have borne me much luck.
If you wanna check it out, i attached a version i found a few years ago and still use. There's a readme inside with instructions on how to install. If the install button doesn't work, you can force install (it worked for me). I found a LOT of different colors, sizes and types of this same program. Or at least it is supposed to be the same program.
Here's the source:
It converts your controller to an Xbox360 controller (Xinput).
Sadly, I can't help you with the ahk script, as i'm very new to autohotkey, but good luck.
- (1.54 MiB) Downloaded 5 times