Dismiss Notice

In the upcoming weeks mod approvals could be slower than normal.
Thank you for your patience.

DSX - DualSense Adaptive Triggers v1.2.0

Adaptive triggers for PS5 controllers

Tags:
  1. CBeTHaX
    upload_2023-10-22_4-32-3.png

    This mod adds adaptive triggers on the PS5 controller.

    It requires DSX: https://github.com/Paliverse/DualSenseX/releases
    If you want a better UX, HidHide driver (for hiding PS controller in games), or just to support the author of DualSenseX, consider getting the paid Steam version. In the future there might be some features that are only supported by that one.


    Features:
    - Progressive brake
    - ABS feedback
    - Wheel slip feedback
    - RPM LED
    - Damage LED
    - Increased spring effect on the throttle

    Steps to make it run:
    1. Install DSX - the free (DSX v1) or paid Steam version (DSX v2)
    2. Start it
    3. Connect your PS5 controller (either through bluetooth or wire)
    4. Use 'Xbox 360 emulation' in DSX
    5. Start BeamNG
    6. Enjoy

    Linux Support:

    By user ASOwnerYT: https://github.com/ASOwnerYT/pydualsensex
    By user scj643: https://github.com/scj643/pydualsensex (supports RGB and player LED)
    Haven't personally tested them, so I can't provide support, but they should be more or less plug-and-play if you know what you are doing.

    Troubleshooting:
    Q: Adaptive triggers not working
    A: First and foremost check if DSX is running. The mod can't work without it.

    If you have more than 1 controller connected (wheel, flight joystick, 2 gamepads, etc.), you might need to disconnect them to have only the DualSense active. Alternatively you can change CONTROLLER_INDEX value in [mod_folder]/lua/config.lua to 1 (or 2,3, etc., depending on how many controllers you have connected).

    If that's not the case, then:

    Check if the controller is connected in DSX

    DSX v1:
    upload_2023-10-23_16-7-14.png

    DSX v2:
    upload_2023-10-23_18-32-34.png

    1. If 'controller connected' is red, then the issue is with your PC or DSX not recognizing your controller. I can't really help you there as there are a few arbitrary reasons for that to happen, which I can't help you with, without having physical/virtual access to your PC.

    2. Check if UDP light is green (status is only visible in DSX v2)
    upload_2023-10-23_18-30-53.png

    3. Check if UDP is enabled in settings and that the port is set to 6969

    DSX v1:
    upload_2023-10-23_16-6-24.png

    DSX v2:
    upload_2023-10-23_18-31-11.png

    4. Check if the mod is not crashing for some random reason (press '~' in-game to open the dev console and if you see a lot of red text, send me a screenshot/log). BeamNG will usually detect that so you'll get a notification it's crashing and you'll know something's not right, without opening the console, but in any case, sending the actual error output will be extremely helpful in being able to figure out why it's not working.

    5. Enable port 6969 through your Firewall/Antivirus (although generally unnecessary as there's no reason for your firewall/antivirus to block local connections from your PC to your PC, but it's a last resort to this not working)

    6. Reinstall DSX - Some users reported that this fixed the issue for them, so you might try it if everything else fails.

    7. If its neither of those, then I have no idea, I'll need to investigate your case in more detail.

    Q: Game detecting controller twice (i.e. buttons get triggered twice)
    A: That's more of a DSX problem than the mod's problem, but since I've also had to deal with it, there are a few ways to avoid this:

    1. Your Controller Emulation needs to be set to 'Xbox 360':

    DSX v1:
    upload_2023-10-23_16-6-3.png

    DSX v2:
    upload_2023-10-23_18-31-40.png

    2.1 (DSX v1) Use the controller only in Bluetooth mode (not wired)
    2.2 (DSX v2) If you wish to use it in wired mode, do not also turn it on in bluetooth mode.

    3. Reinstall the HidHide driver (only with DSX v2)

    4. Disable Steam from recognizing the Playstation controller (it will only get recognized through the Xbox360 emulator)

    Q: "I don't like how the adaptive triggers feel"
    A: I'm still working on getting it right, so please be patient. If you want to tinker with the current settings, edit the file /lua/config.lua

    upload_2024-11-22_1-42-55.png

    Make sure to save the file and reload lua in-game by using CTRL+L. If you have questions about specific settings, you can DM me.

    Q: "Where is source code"?

    A: It's available directly in the mod files, but if you prefer, here's the git repo: https://github.com/SvetlozarValchev/beamng-dsx


    Roadmap:
    Here's my plans for this mod so you know if your ideas and suggestions are already considered:

    - UI Widget for configuration and information
    - Information from the mod's side if it's having problems with UDP connection to DSX
    - Fine-tuning the adaptive triggers feel
    - Per-car customization of the adaptive triggers
    - Using the controller's LED for various effects like RPM limiter, Sirens, etc.
    - (future/not possible at the moment) Haptic Feedback when a collision occurs (not possible in DSXv2, will see in the near future if v3 will support it through the UDP)

Recent Updates

  1. Reworks
  2. Additional configuration settings
  3. Overhauled

Recent Reviews

  1. LIRDCE
    LIRDCE
    3/5,
    Version: v1.2.0
    I love it when it works :=
    This is amazing you develope alone this mod, i think it is need to be implemented in the game and but i think it need more money and time to polish it and keep it uptodate to the latest DSX version, or make Beam support DualSense nativ because i have soooo many bug with this mod. If i reinstall all my windows fresh start fresh beamng and dsx it is working for some time but every time it is stop working after few weeks, idk why i dont install anything else what can disturb it but first i lose adaptive triggers and now i lose audio haptics. Idk what i do wrong but i try to reinstall beam, dsx and the mod too, but if once it stops working it is not working anymore in this windows install :/ idk what i can do with that. Please help me or speak with the devs to implements to the game, i only buy a DualSense controller because i see this mod, and when it is working i love playing beam with it but yeah , every time i have issues. I think peoples would give you money if you keep investing more time to this mod.
    Thanks for working on this because it is amazing, but yeah need some works.
    Thanks you!
  2. Wujek_Foliarz
    Wujek_Foliarz
    5/5,
    Version: v1.2.0
    Yo I like your mod very much
    Could you also add my free DSX alternative to description?
    https://github.com/WujekFoliarz/DualSenseY-v2

    Not only it supports all trigger effect 1:1 it also can do haptic feedback from waveform files.
  3. scj643
    scj643
    5/5,
    Version: v1.2.0
    I just made a fork of the Linux support. It's here at https://github.com/scj643/pydualsensex and supports RGB and player LED. Also if you force steam input the DS5 will work perfectly under Linux.
    1. CBeTHaX
      Author's Response
      Thanks, added.
  4. Kirillaz
    Kirillaz
    5/5,
    Version: v1.2.0
    Very useful mod. Hope to see improvements in the future
  5. Tripled Sevens
    Tripled Sevens
    5/5,
    Version: v1.2.0
    I love this mod, really helps me modulating my throttle and brakes especially in older, non ABS cars! Looking forward for more improvements!
  6. gavinamomo
    gavinamomo
    5/5,
    Version: v1.2.0
    Great addition! I love making BeamNG feel more like a complete, and a console game, this just makes it even better, quick little suggestion, maybe add light indicators? Using the upper lights, they can a dim white for the headlights, a bright white for highbeams, and they could flash orange left or right depending on which signal is on. Just a little idea, but either way, I love it.
  7. jdm123
    jdm123
    5/5,
    Version: v1.2.0
    It works great, do you consider to simulate gear change (something like in Cyberpunk 2077 dualsense mod)?
    1. CBeTHaX
      Author's Response
      Might add some more effects in the future, but it'll probably be after I find the time to make some UI widgets for it so you can choose presets/configs, because if I add too many of them at once, at some point your controller will just be vibrating and blinking like a christmas tree all the time and reducing the desired 'feedback' effect as you'll have a hard time discerning which effect is which.
  8. vr-bobbington
    vr-bobbington
    4/5,
    Version: v1.0.0
    Doing all this in GE lua means there is a one frame delay added on top of all the delay DSX has. It's not exactly optimal when giving force feedback to a controller. I recommend you move all the logic to VE lua and use the existing protocols implementation there, which is meant for this stuff.
    1. CBeTHaX
      Author's Response
      I haven't noticed a delay, but since this approach was just a leftover of trying to figure out how to inject lua code, I've moved it to VE lua (in 1.1.0)
  9. k6ur6shh2
    k6ur6shh2
    5/5,
    Version: v1.0.0
    it looks like an amazing mod , but is there any support for DS4windows and my DualShock4? if possible do that please :)
    1. CBeTHaX
      Author's Response
      DualShock4 doesn't have adaptive triggers unfortunately.
  10. Musicman27
    Musicman27
    5/5,
    Version: v1.0.0
    Very cool mod that frankly should be in vanilla Beam.NG. Can we get it for XBOX controllers?
    1. CBeTHaX
      Author's Response
      The DSX app only works with DualSense as far as I know. But the bigger issue is I don't have an Xbox controller so I can't test or implement such a mod.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice