I was using it with a Thrustmaster Wheel while working on a VR Car Sim. I needed an engine vibration-like force feedback, so I added that feature. I've included comments before and after the sections I've edited. Most of my changes are in the DirectInputForceFeedback.h and DirectInputForceFeedback.cpp files.
Additionally, in the VirtualInputDevice.cs file, I commented out some code related to the D-pad because I was using OpenXR, which also registers the D-pad, causing errors. You can ignore this change if it's not relevant to you. I also made modifications to DIManger.cs and the demo script.
I was using it with a Thrustmaster Wheel while working on a VR Car Sim. I needed an engine vibration-like force feedback, so I added that feature. I've included comments before and after the sections I've edited. Most of my changes are in the DirectInputForceFeedback.h and DirectInputForceFeedback.cpp files.
Additionally, in the VirtualInputDevice.cs file, I commented out some code related to the D-pad because I was using OpenXR, which also registers the D-pad, causing errors. You can ignore this change if it's not relevant to you. I also made modifications to DIManger.cs and the demo script.