Paliverse / DualSenseX

Connect your DualSense Controller, use Adaptive Triggers, Emulate Xbox 360 or DualShock 4 through USB or Bluetooth on PC
1.23k stars 106 forks source link
adaptive-triggers adaptive-triggers-pc dual-sense-on-pc dualsense dualsense-controller dualsense-pc-adaptive-triggers games hidhide ps5-controller steam trigger-states vigembus

DualSenseX

chat on Discord

[!IMPORTANT]

DSX has been officially released on Steam

All future updates will be for the Steam Version.

[!WARNING] 🛑 DualSenseX Does NOT have a website, please do NOT visit any sites except here.

My other Work

All my Apple Apps (iOS) can be found here

DualSenseM for macOS

About App

App only works with the PS5 Controller DualSense

Bring your DualSense Controller to life on PC with support for Adaptive Triggers!

Emulate with the following while also getting the functionality of a DualSense Controller:

Xbox360

DualShock 4

OFF (for no Emulation, reading only inside app)

Whether you're using Steam or a different platform, you will be able to use DualSenseX with all games!

Connection type supports both USB and Bluetooth with full functionality!

Download and Install

To use DualSenseX,

Once that's done, the DualSense Controller should auto connect to the App.

Features:

Screenshot:

Screenshot 2021-05-12 205945

Game Mods with DualSenseX

List of available Game Mods using DualSenseX to communicate with the controller:

DualSenseAT Central Hub Mod App

Central Hub Mod App: DualSenseAT
Game: Many games supported
Author: @TechZiN#7640

Cyberpunk 2077 Mod

Game: Cyberpunk 2077:
Mod Name: DualSense Adaptive Trigger Effects (Nexusmods)
Author: @Limai#4799 

Forza Horizon 4 and 5 Mod

Game: Forza Horizon 4 and 5:
Mod Name: ForzaDualSense (Github)
Author: @rotatingFans#3125 

Game: Assetto Corsa Mod

Game: Assetto Corsa:
Mod Name: DualSenseXLink (Race Department)
Author: @ryunyun#0227

GTA 5 Mod

Game: GTA 5:
Mod Name: DualSense4GTA5 (GitHub)
Author: @John D.#3775 

Duck Game Mod

Game: Duck Game:
Mod Name: DualSense Adaptive Triggers (Steam)
Author: @ThaPhonk?#9118 

Skyrim SE Mod

Game: Skyrim SE:
Mod Name: Skyrim SE Dual Sense Adaptive Trigger Mod
Author: @dvize#9382 

Do NOT use these Mods in online games to avoid getting banned, doing so will be at your own risk. DSX will hold NO responsibility for using these Mods.

For Translators

Want to contribute in translating the app? Click below:

Join Discord Community!

Discord Banner 2

Reviews:

AJ Bants YouTube Channel

Alt text


JUST A BONE YouTube Channel

Alt text

For Game Devs

Support your game with DualSense Adaptive Trigger Capabilities With DualSenseX App, find out below how to get it setup, and get your game added within the App for all to see and play!

Trigger State

To get this working with your game, you have 2 methods to communicate with the controller.

First one is UDP Server/Client method through Localhost, Project example can be downloaded here

Second one is the Text file method described below:

There are a few things this App will look for when reading this text file to apply the triggers:


For the LeftTrigger= and RightTrigger=, there are 19 different state possibilities that you can set, which are CASE SENSITIVE:

CustomTriggerValueLeftMode=

CustomTriggerValueRightMode=

Examples of Trigger States in Textfile:


Apply Normal State:

LeftTrigger=Normal
RightTrigger=Normal

Apply Rigid State:

LeftTrigger=Rigid
RightTrigger=Rigid

Apply VibrateTrigger State for right Trigger:

LeftTrigger=Normal
RightTrigger=VibrateTrigger
VibrateTriggerIntensity=40

CustomTriggerValue State for right Trigger and GameCube for left Trigger:

LeftTrigger=GameCube
RightTrigger=CustomTriggerValue
CustomTriggerValueRightMode=VibrateResistance B
ForceRightTrigger=(10)(255)(0)(0)(0)(0)(0)

CustomTriggerValue State for both Triggers:

LeftTrigger=CustomTriggerValue
RightTrigger=CustomTriggerValue
CustomTriggerValueLeftMode=Rigid A
CustomTriggerValueRightMode=VibrateResistance B
ForceLeftTrigger=(10)(255)(0)(0)(0)(0)(0)
ForceRightTrigger=(10)(255)(0)(0)(0)(0)(0)

VibrateTrigger State for Right Trigger and CustomTriggerValue for the left :

LeftTrigger=CustomTriggerValue
RightTrigger=VibrateTrigger
VibrateTriggerIntensity= 10
CustomTriggerValueLeftMode=Rigid A
ForceLeftTrigger=(10)(255)(0)(0)(0)(0)(0)

Resistance State for Right Trigger :

RightTrigger=Resistance
ForceRightTrigger=(0)(8)

Machine State for Left Trigger :

RightTrigger=Machine
ForceLeftTrigger=(0)(9)(7)(7)(10)(0.0)

AutomaticGun State for right Trigger and GameCube for left trigger:

LeftTrigger=GameCube
RightTrigger=AutomaticGun
ForceRightTrigger=(0)(8)(15)

Note : Best is to not leave spaces or extra unnecessary lines except for the lines you need to reduce the delay in reading the text file.

You can mix and match between states to get the desired effect for your game.

From previous testing, I believe you can write to a text file every frame, as the App will only read from that file.

For best results, I recommend you include the batch file with your game and have it execute when loading your game, which is explained below.

Batch File:

This batch file will open the DualSenseX App and auto connect to the controller, and begin applying the trigger states from the text file.

To get started, download the zip file from above and attach the .Bat file in the directory of your game. Edit the batch file according to your Game Title and the name of the text file that your game will write to.

Upon launching the game, you should execute this batch file, which will open a new window of DualSenseX that takes in 2 paramaters from the batch file explained below and inside the batch file:

Both the batch file and the text file must be in the same directory with your game, the batch file gets the location of the text file depending on where the batch file is located.

Acknowledgement and Reference

This App would not be possible without:

I thank all of you!