Due to the shortage of PS5, I still have no PS5 for further development.
A lightweight tool to use DualSense on Windows based on ViGEm. Currently it works perfectly to emulate an Xbox 360 controller.
With DualSense2Xbox, your DualSense can support (almost) all games based on XInput.
The Adaptive Trigger can be modified by calling the function dualSense.SetLeftAdaptiveTrigger()
and dualSense.SetRightAdaptiveTrigger()
.
Here are some examples:
dualSense.SetLeftAdaptiveTrigger(DualSense_Base.RigidTrigger);
dualSense.SetRightAdaptiveTrigger(DualSense_Base.HardTrigger);
dualSense.SetLeftAdaptiveTrigger(DualSense_Base.VibrateTrigger_10Hz); //Vibrate 10Hz if presses
dualSense.SetRightAdaptiveTrigger(DualSense_Base.VibrateTrigger(3)); //Vibrate 3Hz if presses
My friends and I are working on fitting games' events by black-box approaches. In the future, we might be able to experience the Adaptive Trigger on PC platforms.
- Windows 10
- Visual Studio 2019
- .Net Framework 4.8
- Nefarius.ViGEm.Client 1.16.150
- Device.Net 3.1.0
- Hid.Net 3.1.0
- Usb.Net 3.1.0
Please preinstall the ViGEm driver first.
All C# libraries should be automaticly downloaded by NuGet Package Manager. If not, please download these libraries manually.
Please switch to the corresponding branch and build the code. You can also choose to download the released files.