I've found that my USB racing wheel's pedals are interpreted backwards in certain games. I'm trying to find a way to invert the axis for games that don't have this option built-in.
The only option I can see so far is to use Joy2Key to map the axis to the mouse, then use PPJoy to map the mouse to a virtual joystick, but I'm not yet sure if that will actually work. My Logitech Wingman profiler software has the feature, but of course only works with the WingMan, not generic Dinput devices.
I've been scouring the net with no results, so figured I'd ask here.
This thread gave me the info I needed to remap the axes - the official docs were a little less than clear on how to do this, specifically, as it's not really what it's designed for. The "Use with MAME" guide is what I used, replacing the Wiimote with my racing wheel
I'm looking to remap the D-pad of a DS4 to be the up/down/left/right instead of the thumbstick.
Could you please post your config file?
Here ya go. The GlovePIE GUI might work, but it was more trouble than it was worth for me. There is one button that refuses to map, no matter what I do, and I can't figure out why. You'll need to change the IDs, probably - my wheel is Joystick2, so if you set your DS4 to ID 2 in Control Panel, it might mostly work (you'll have to trial-and-error to figure out which axes map to the right joystick though - that's what I was using the "debug" output at the bottom to do)
1// Type your program here, or click the GUI tab to autogenerate it! 2// Wheel 3// for some reason the - 0.1 is necessary because CMR2.0 thinks dead center is slightly right even after calibration 4PPJoy1.Analog0 = Joystick2.x - 0.1 5// Clutch 6PPJoy1.Analog3 = MapRange(Joystick2.y, 1,0, -1,1) 7// Gas 8PPJoy1.Analog1 = MapRange(Joystick2.z, -1,1, 1,-1) 9// Brake 10PPJoy1.Analog2 = MapRange(Joystick2.roll, -1,1, 1,-1) 11// Buttons 12PPJoy1.Button1 = Joystick2.Button1 13PPJoy1.Button2 = Joystick2.Button2 14PPJoy1.Button3 = Joystick2.Button3 15PPJoy1.Button4 = Joystick2.Button4 16PPJoy1.Button5 = Joystick2.Button5 17PPJoy1.Button6 = Joystick2.Button6 18PPJoy1.Button7 = Joystick2.Button7 19PPJoy1.Button8 = Joystick2.Button8 20PPJoy1.Button9 = Joystick2.Button9 21PPJoy1.Button10 = Joystick2.Button10 22PPJoy1.Button11 = Joystick2.Button11 23PPJoy1.Button12 = Joystick2.Button12 24PPJoy1.Button13 = Joystick2.Button13 25PPJoy1.Button14 = Joystick2.Button14 26PPJoy1.Button15 = Joystick2.Button15 27PPJoy1.Button16 = Joystick2.Button16 28// POV 29PPJoy1.Button17 = Joystick2.Pov1Up 30PPJoy1.Button18 = Joystick2.Pov1Right 31PPJoy1.Button19 = Joystick2.Pov1Left 32PPJoy1.Button20 = Joystick2.Pov1Down 33// debug 34Display(PPJoy1.Analog0) 35//Display(Joystick2.Button1) 36 37