
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.