Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Controller:DualShock 4"

From PCGamingWiki, the wiki about fixing PC games
m (Layout clean up)
(moved bluetooth version information out of key point (to mention the little trick to make 2.0 also work))
Line 12: Line 12:
 
{{++}} Supported natively by a growing list of games (see [[#Support in games|support in games]]) while also featuring native DirectInput support.
 
{{++}} Supported natively by a growing list of games (see [[#Support in games|support in games]]) while also featuring native DirectInput support.
 
{{++}} Capable of making full use of [[Store:Steam#Steam Input|Steam Input]] due to many overlapping features with the [[Controller:Steam Controller|Steam Controller]].<ref name="Steam-Input">{{Refurl|url=https://www.pcgamer.com/valve-is-adding-full-dualshock-4-configurability-to-steam/|title=PC Gamer - Valve is adding full DualShock 4 configurability to Steam|date=2018-02-15}}</ref>
 
{{++}} Capable of making full use of [[Store:Steam#Steam Input|Steam Input]] due to many overlapping features with the [[Controller:Steam Controller|Steam Controller]].<ref name="Steam-Input">{{Refurl|url=https://www.pcgamer.com/valve-is-adding-full-dualshock-4-configurability-to-steam/|title=PC Gamer - Valve is adding full DualShock 4 configurability to Steam|date=2018-02-15}}</ref>
{{++}} Uses standard<ref>https://twitter.com/NefariusMaximus/status/819655326832148481</ref> USB (Micro-B) and Bluetooth (v2.1 + EDR) HID protocols for communication..
+
{{++}} Uses standard<ref>https://twitter.com/NefariusMaximus/status/819655326832148481</ref> USB (Micro-B) and Bluetooth HID protocols for communication..
 
{{--}} ..but exposes advanced features over the latter only via the custom PS4<ref>[http://www.psdevwiki.com/ps4/DS4-BT#Bluetooth_Adressing DS4-BT - PS4 Developer wiki]</ref> mode. For the moment, only working with the [[#Official Wireless Adaptor|official adapter]].
 
{{--}} ..but exposes advanced features over the latter only via the custom PS4<ref>[http://www.psdevwiki.com/ps4/DS4-BT#Bluetooth_Adressing DS4-BT - PS4 Developer wiki]</ref> mode. For the moment, only working with the [[#Official Wireless Adaptor|official adapter]].
 
{{--}} Lacks native XInput support, requiring the use of a XInput wrapper (see [[#Windows|Windows]]) for games that do not support DirectInput or the controller natively.
 
{{--}} Lacks native XInput support, requiring the use of a XInput wrapper (see [[#Windows|Windows]]) for games that do not support DirectInput or the controller natively.
Line 46: Line 46:
  
 
===Bluetooth===
 
===Bluetooth===
 +
{{++}} Uses normal Bluetooth v2.1 + EDR<ref>[https://www.sie.com/en/corporate/release/2013/130221b.html SONY COMPUTER ENTERTAINMENT INTRODUCESWIRELESS CONTROLLER FOR PLAYSTATION®4 (DUALSHOCK®4) AND PLAYSTATION®4 EYE]</ref> (but 2.0 + EDR can also be [https://github.com/chrippa/ds4drv/issues/22#issuecomment-35081152 made to work])
 
{{ii}} Games with native controller support might not support Bluetooth connected controllers; requiring a wireless adaptor, wired connection, or a [[#XInput wrapping|XInput wrapper]] instead.<ref>{{Refurl|url=http://steamcommunity.com/app/377160/discussions/0/496880503080352956/#c458604254444881931|title=Steam Community - &#91;FIXED&#93; DS4/Dualshock 4 issues. :(|date=December 31, 2015}}</ref>  
 
{{ii}} Games with native controller support might not support Bluetooth connected controllers; requiring a wireless adaptor, wired connection, or a [[#XInput wrapping|XInput wrapper]] instead.<ref>{{Refurl|url=http://steamcommunity.com/app/377160/discussions/0/496880503080352956/#c458604254444881931|title=Steam Community - &#91;FIXED&#93; DS4/Dualshock 4 issues. :(|date=December 31, 2015}}</ref>  
 
{{--}} Official Sony PlayStation services such as [[Emulation:PlayStation 4#Remote Play|PS4 Remote Play]] and [https://www.playstation.com/en-us/explore/playstationnow/ PlayStation Now] do not support Bluetooth connected controllers.
 
{{--}} Official Sony PlayStation services such as [[Emulation:PlayStation 4#Remote Play|PS4 Remote Play]] and [https://www.playstation.com/en-us/explore/playstationnow/ PlayStation Now] do not support Bluetooth connected controllers.

Revision as of 11:19, 31 January 2020

This page may require cleanup to meet basic quality standards. You can help by modifying the article. The discussion page may contain useful suggestions.
DualShock 4
DualShock 4 cover
XInput support
Predecessor
DualShock 3, PlayStation Move
DualShock 4 on Wikipedia

Key points

The support for supplementary features like the internal speaker, headphone jack, gyroscope, or lightbar varies between models, type of connection, and games/software.
Supported natively by a growing list of games (see support in games) while also featuring native DirectInput support.
Capable of making full use of Steam Input due to many overlapping features with the Steam Controller.[1]
Uses standard[2] USB (Micro-B) and Bluetooth HID protocols for communication..
..but exposes advanced features over the latter only via the custom PS4[3] mode. For the moment, only working with the official adapter.
Lacks native XInput support, requiring the use of a XInput wrapper (see Windows) for games that do not support DirectInput or the controller natively.

General information

PC Games with DualShock 4 support

Usage

The controller does not support XInput natively; additional third-party software such as Steam or an alternative (Windows, Linux) might be required to use the controller in XInput-only games.

Micro USB

V2 controller variation installs itself as an audio device and allows the use of the 3.5mm jack on the controller for audio passthrough.
Connect the controller[4]
  1. Use a micro USB cable to connect the controller to a USB port on the computer.
  2. The controller should automatically be recognized and installed by the operating system.

Official Wireless Adaptor

Official peripheral; required if using PS4 Remote Play or PlayStation Now wireless.
Games with native controller support may not work with the adapter even if they work with a wired connection.
Installs itself as an audio device and allows the use of the 3.5mm jack on the controller for audio passthrough.
Recognized as a DirectInput controller while plugged in, regardless of whether an actual DualShock 4 controller is paired with the adapter or not. This can cause issues with games incorrectly assuming a controller is connected when there isn't.
Pair the controller[5]
  1. Push in the wireless adapter towards the USB port until the light bar starts to blink rapidly.
  2. Hold down PlayStation+Share at the same time until the light bar starts to blink rapidly.
  3. The controller and adapter should automatically find and pair with one another within a second or two. When completed the light bar of both will stop blinking rapidly.

Notes

To turn off the controller press PlayStation+Triangle or hold PlayStation for ten seconds.

Bluetooth

Uses normal Bluetooth v2.1 + EDR[6] (but 2.0 + EDR can also be made to work)
Games with native controller support might not support Bluetooth connected controllers; requiring a wireless adaptor, wired connection, or a XInput wrapper instead.[7]
Official Sony PlayStation services such as PS4 Remote Play and PlayStation Now do not support Bluetooth connected controllers.
Pair the controller[8]
  1. Hold down PlayStation+Share at the same time until the light bar starts to rapidly blink.
  2. Navigate to the Bluetooth settings of the operating system, select "Wireless Controller" and pair it.
  • If asked for a pair code, use 0000.

Notes

To turn off the controller press PlayStation+Triangle or hold PlayStation for ten seconds.
If the controller have already been paired with Windows previously using Bluetooth, it might be required to remove existing older pairing in Windows before trying to re-pair the device again, as Windows otherwise might not discover the device.

Use with PC platforms

Windows

XInput wrapping

Acting as native DirectInput controller, it's possible to use any of the generic wrappers. See the controller article for those.

DS4Windows

Extensive program with high amount of customization. Can be used as XInput, keyboard and mouse wrapper with macros or just as an extend of the controller to use controllers features like touchpad, gyroscope, haptic feedback and lighbar.
Ability to emulate DS4 V1 controller which can help with older games that don't support V2 controller or don't work with wireless connection through Bluetooth dongle.
Does not currently support/recognize Bluetooth adapters with chips manufactured by Cambridge Silicon Radio (CSR) of which there are many.
Lightbar support can't be disabled and it will overwrite and can interfere with games' own support.
Double input
This is caused by controller showing up as two, first as native DirectInput controller and second as emulated XInput, Xbox 360 Controller.
Disable emulated XInput controller (profile specific option)[citation needed]
  1. Under Profiles tab, select desired profile and edit it.
  2. Under Controls tab, from lower right corner, check "Use Dinput only".

Notes

This makes it easier to enable XInput with game-by-game basis if game doesn't support the controller or DirectInput.
Only works with games that support DirectInput or native DS4 input
Hide DualShock 4 (global option)[citation needed]
  1. Under Settings tab, check "Hide DS4 Controller"

Notes

This makes the controller always show up as single XInput controller, making controller work properly with majority of modern titles.
Some software like Steam, Uplay, GeForce Experience or UWP apps prevent this from working consistently. See below.
HidGuardian[9]
  1. Install HidGuardian for consistent exclusive mode
Consistent exclusive mode regardless of the software currently running
Disables native DS4 input permanently with no easy way to whitelist software to see it if using V1 controller
Has to be re-installed every Windows upgrade

InputMapper

Earlier known as DS4Tool and DS4Windows, not to be confused with current DS4Windows.
Ad supported donationware.

Linux

Controller is natively supported since kernel 3.15.

Light bar support

Light bar support may require additional tweaks. For games using the FNA engine, refer to the engine article; for other games, refer to the game-specific articles for details.

Steam

Capable of making full use of Steam Input due to many overlapping features with the Steam Controller.[1]
Double inputs, games with native support might see the controller as an Xbox controller.
Enable Dualshock 4 controller support[10]
  1. Turn off or disconnect the controller from the computer.
  2. Open Steam and navigate to the controller settings page:
    • In desktop mode: View -> Settings -> Controller -> General Controller Settings
    • In Big Picture mode: Settings -> Controller Settings
  3. Enable PS4 Configuration Support.
  4. Turn on or connect the controller to the computer again.
  5. Steam should now detect the controller (usually signified by the light bar changing color) and allow the use of it in XInput-only games, while also supporting custom configs using the Steam Input controller configurator.

Notes

This feature is what causes the double input issue in games that natively support the controller. Disable PS4 Configuration Support before playing affected games to solve the issue.

Steam Link compatibility

Wired or wireless works. Press the PS button + Share to power up to be detected by Steam Link. All buttons are mapped correctly.
Works without any drivers on any operating system that supports Steam.
Can be used just to send input from a controller to a PC. Go into Streaming options, hit Y and disable video and audio streaming.
Won't work great unless you connect it to LAN or a low latency Wi-Fi.

Support in games

For a list of games, see List of games that support DualShock 4 controller support.

Games with generic DirectInput support are supported by the controller, however button placements may be out of place and need to be rebound. Refer to game-specific articles for rebinding support.
Supported natively by a growing list of games, allowing the use of the controller and some/all of it supplementary features without any additional software installed.
Support for some controller features may be only available on certain systems. Refer to game-specific articles for details.

Issues fixed

Game sees two controllers/game takes two inputs at once

This is caused by using a XInput wrapper with a game that natively supports both DualShock 4 controllers and XInput devices, causing the game to use both the actual hardware and the virtual XInput controller at once.
To use the controller natively as a DualShock 4 controller, do any of the following:
  • Close any installed XInput wrappers, such as DS4Windows, SCP, InputMapper, Steam (if possible), etc.
  • Disable the global/game-specific option to wrap the controller in any installed XInput wrapper.
    • Example: Disable PS4 Configuration Support in Steam.
  • Uninstall any installed XInput wrapper.
To use the controller as a XInput device, do any of the following:
  • Enable the Hide DualShock 4 controller option in the XInput wrapping software, if one exist.
  • Use a third-party tool like Special K that includes this functionality (set DisablePS4HID to true).

Fast movement without input

This is most likely caused by game being designed for XInput controllers only, but still taking inputs from DirectInput controllers. What this means is that game is reading Dualshock 4 controllers shoulder axis which are not centered as right stick.
See the controller glossary page for more information.
Rebind Controller Buttons
For Unity games with no launchers hold Shift to access the launcher as the game starts, then select the Input tab.
Check the wiki article for the desired game to find a different rebinding solution. Configuration files may hold such settings.
Use XInput wrapper
For Dualshock 4 specific methods, you can see OS specific solutions above. For generic DirectInput and per game solutions, see controller article.

Other information

Worn analog sticks

Worn analog sticks are a known issue and Sony should've changed rubber material for new controllers.[11] If the controller is still under warranty contact Sony or the retailer for replacement instructions.[12] Worn sticks can also be replaced manually (follow this guide).

Technical information

Original, V1: Wireless controller, HWID: 054C:05C4
New variation (released with Slim and Pro), V2: Wireless Controller, HWID: 054C:09CC
Wireless Adapter: Device name: DUALSHOCK®4 USB Wireless Adaptor , HWID: 054C:0BA0
Controller button Button label and axis
Square Button 1
Cross Button 2
Circle Button 3
Triangle Button 4
L1 Button 5
R1 Button 6
L2 Button 7, X-rotation
R2 Button 8, Y-rotation
Share Button 9
Options Button 10
Left stick Button 11, X-axis, Y-axis
Right stick Button 12, Z-axis, Z-rotation
PlayStation button Button 13
Touchpad Button 14
D-pad up POV up
D-pad down POV down
D-pad left POV left
D-pad right POV right


References