1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.32 Bug Reporting thread
    Solutions and more information may already be available.

DS4 Detection

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by ItsVital, Jan 14, 2017.

Tags:
  1. ItsVital

    ItsVital
    Expand Collapse

    Joined:
    Jul 1, 2016
    Messages:
    5
    I'm recently got a DS4 controller and before that I was using a DS3 emulating a 360 controller to play BeamNG with. I've had a conversation on the steam forums and Nadeox1 said DS4 should work out of the box. My problem is BeamNG detects the controller, and knows that I'm pressing the buttons:

    Yet it doesn't want to use it when it is connected. My emulated DS3 worked without manual binding but I have to manual bind my DS4 for some reason. I'm using a traditional red DS4 and the same cord used for charging just a different brand. Nadeox1 said there seems to be nothing strange here thought he doesn't have one himself. I hope someone knows the fix to this, and if so thanks in advance.
     
  2. NoxiousFumes

    NoxiousFumes
    Expand Collapse

    Joined:
    Apr 24, 2016
    Messages:
    675
    How did you pair it? It works fine here through Bluetooth. Also, you could use SCP toolkit to connect it if that doesn't work
     
  3. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,960
    Nothing strange here. DS4 is recognised natively but doesnt have bindings. You need to add bindings.
     
  4. BowlerHatJack

    BowlerHatJack
    Expand Collapse

    Joined:
    Aug 5, 2016
    Messages:
    1,388
    I'm pretty sure my ps4 controller got preassigned bindings to it? It was a long time ago though so my memory is a bit foggy.
     
  5. ItsVital

    ItsVital
    Expand Collapse

    Joined:
    Jul 1, 2016
    Messages:
    5
    Developer replied on steam forums his worked with bindings out of the box through steam's DS4 support

    It's just connected with a wire without emulators. Developer tested without any extensions and said it worked fine. I forgot to add this, but I was looking to have this work without anything like SCP Toolkit.
     
  6. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,685
    Hey, we checked again, and your controller PIDVID (Number aside it's name) is different for some reason.
    This is how it looks for us:

    And it works just out of the box, without requiring configuration.
     
  7. stenyak

    stenyak
    Expand Collapse
    Programmer & Global Moderator
    BeamNG Team

    Joined:
    Aug 6, 2012
    Messages:
    1,901
    Copypaste from my response to you at steam forums:


    stenyak 13 minutes ago
    We have manually created a configuration for the PS4 controller. This means that, if you simply plug a controller to your windows computer, it will work automatically.

    If, however, you have installed some drivers that kidnap and modify how the controller is presented to the operating system (such as DS4, and similar software), then things may or may not work. Try uninstalling or disabling DS4, and things should work correctly.

    If you really REALLY want to use DS4 for whatever reason, I unfortunately cannot offer support for this kind of 3rd party software. @SadisticSweety above has suggested something about emulating Xbox, if that is possible, then BeamNG will see an XBox controller rather than a PS4 controller, and things may kind of work (since we also bundle a default configuration for XBox controllers). Or you can just assign the controls manually.

    But again, since PS4 controller works out of the box, I recommend against installing or using these 3rd party programs that interfere with the default drivers.
     
  8. ItsVital

    ItsVital
    Expand Collapse

    Joined:
    Jul 1, 2016
    Messages:
    5
    I'm assuming this has to do with my USB... It's the only thing that's a bit different in terms of brand.. I'm not really a tech heavy person so I don't know but I could try a traditional PS4 charger..
     
  9. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,960
    cable changes nothing at all. Cable is literally just 4 bits of copper between pins labelled 5v, ground, D+ and D-. All cables are alike.

    PIDVID is in the controller itself, yours isnt one for an official PS4 controller. Is this a 3rd party one rather than an official sony one? You'll just have to configure bindings in the options screens.
     
  10. ItsVital

    ItsVital
    Expand Collapse

    Joined:
    Jul 1, 2016
    Messages:
    5
    Mine is an official DS4 Sony controller, so other than that I wouldn't see how the PIDVID would be different. I've always been fine with manually binding I just would like a way to easily have default controls and not potentially losing the binds and having to redo them.
     
  11. stenyak

    stenyak
    Expand Collapse
    Programmer & Global Moderator
    BeamNG Team

    Joined:
    Aug 6, 2012
    Messages:
    1,901
    It looks like your controller is not a Dual Shock 4, but a Dual Shock 4 Slim.

    We have never tested this device, nor created an inputmap for it. We don't have the resources to test every existing device out there, nor to create and maintain their inputmaps (currently we only have 30 different controllers we can test).

    This is why the DS4 inputmap is not getting used.

    Please do the following:
    - Connect your controller, open BeamNG.drive, load any level, open Controls menu, click Reset All button (first back up any custom inputmaps you want to preserve)
    - Close BeamNG.drive
    - Open the zip file in SteamLibrary\steamapps\common\BeamNG.drive\gameengine.zip
    - Inside the zip, navigate to settings\inputmaps
    - Extract the file named 05c4054c.json
    - Put it in C:\Users\xxxxxx\Documents\BeamNG.drive\settings\inputmaps
    - Rename to 09cc054c.json
    - Open BeamNG.drive, load any map.
    - Check if the controller got default bindings working.

    If it works correctly, please let me know.
    If it needs tweaks for basic functionality, then please do those tweaks, and afterwards send a support request so I can take a look at them.

    Then I will blindly create an inputmap for the Slim version, ship it in our next update, and cross fingers it works without our usual testing.
     
    • Agree Agree x 1
  12. NoxiousFumes

    NoxiousFumes
    Expand Collapse

    Joined:
    Apr 24, 2016
    Messages:
    675
    Yes that must be what's happening. I have 2 controllers, one for ps4 slim, and the original one. Both have different input maps.
     
  13. ItsVital

    ItsVital
    Expand Collapse

    Joined:
    Jul 1, 2016
    Messages:
    5
    Sorry for the late response, been taking a break from games for a bit. Seems to working perfectly after 5 minutes of driving around though! I didn't even know the PS4 Slim controller was a thing lol sorry. Thanks a lot for helping!
     
  14. stenyak

    stenyak
    Expand Collapse
    Programmer & Global Moderator
    BeamNG Team

    Joined:
    Aug 6, 2012
    Messages:
    1,901
    Thank you for the information. Next update will include a default inputmap for the slim version too :)
     
  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