Skip to content

Instantly share code, notes, and snippets.

@davebarkerxyz
Created February 15, 2014 18:20
Show Gist options
  • Save davebarkerxyz/9023121 to your computer and use it in GitHub Desktop.
Save davebarkerxyz/9023121 to your computer and use it in GitHub Desktop.
PlayStation 4 DualShock 4 controller config for x360ce

PlayStation 4 DualShock 4 controller config for x360ce

The attached x360ce.ini file allows you to use the DualShock 4 controller with DInput games on Wine (which doesn't fully support XInput), using the x360ce emulation layer

[Options]
UseInitBeep=1
Log=0
Console=0
DebugMode=0
InternetDatabaseUrl=http://www.x360ce.com/webservices/x360ce.asmx
InternetFeatures=1
InternetAutoload=1
AllowOnlyOneCopy=1
[InputHook]
HookMode=1
[Mappings]
PAD1=IG_9e573eda773411d28d4a23903fb6bdf7
PAD2=IG_9e573ed9773400008d4a23903fb6bdf7
PAD3=
PAD4=
[PAD1]
[PAD2]
[PAD3]
[PAD4]
[IG_9e573eda773411d28d4a23903fb6bdf7]
ProductName=Sony Computer Entertainment Wireless Controller (event)
ProductGuid=9e573eda-7734-11d2-8d4a-23903fb6bdf7
InstanceGuid=9e573eda-7734-11d2-8d4a-23903fb6bdf7
AxisToDPadDeadZone=256
AxisToDPad=0
AxisToDPadOffset=0
A=2
B=3
GuideButton=13
Back=9
Start=10
X=1
Y=4
D-pad POV=1
D-pad Down=DOWN
D-pad Left=LEFT
D-pad Right=RIGHT
D-pad Up=UP
UseForceFeedback=0
ForcePercent=0
SwapMotor=0
FFBType=0
ControllerType=1
LeftMotorPeriod=0
Left Shoulder=5
Left Analog X AntiDeadZone=0
Left Analog Y AntiDeadZone=0
Left Analog X=1
Left Analog Y=-2
Left Thumb=11
Left Analog X DeadZone=0
Left Analog Y DeadZone=0
Left Analog Y- Button=0
Left Analog X- Button=0
Left Analog X+ Button=0
Left Analog Y+ Button=0
Left Trigger=7
TriggerDeadzone=0
PassThrough=0
RightMotorPeriod=0
Right Shoulder=6
Right Analog X AntiDeadZone=0
Right Analog Y AntiDeadZone=0
Right Analog X=3
Right Analog Y=-6
Right Thumb=12
Right Analog X DeadZone=0
Right Analog Y DeadZone=0
Right Analog Y- Button=0
Right Analog X- Button=0
Right Analog X+ Button=0
Right Analog Y+ Button=0
Right Trigger=8
RightTriggerDeadZone=0
[IG_9e573ed9773400008d4a23903fb6bdf7]
ProductName=Sony Computer Entertainment Wireless Controller (js)
ProductGuid=9e573ed9-7734-11d2-8d4a-23903fb6bdf7
InstanceGuid=9e573ed9-7734-0000-8d4a-23903fb6bdf7
AxisToDPadDeadZone=256
AxisToDPad=0
AxisToDPadOffset=0
A=2
B=3
GuideButton=13
Back=9
Start=10
X=1
Y=4
D-pad POV=1
D-pad Down=DOWN
D-pad Left=LEFT
D-pad Right=RIGHT
D-pad Up=UP
UseForceFeedback=0
ForcePercent=0
SwapMotor=0
FFBType=0
ControllerType=0
LeftMotorPeriod=0
Left Shoulder=5
Left Analog X AntiDeadZone=0
Left Analog Y AntiDeadZone=0
Left Analog X=1
Left Analog Y=-2
Left Thumb=11
Left Analog X DeadZone=0
Left Analog Y DeadZone=0
Left Analog Y- Button=0
Left Analog X- Button=0
Left Analog X+ Button=0
Left Analog Y+ Button=0
Left Trigger=7
TriggerDeadzone=0
PassThrough=0
RightMotorPeriod=0
Right Shoulder=6
Right Analog X AntiDeadZone=0
Right Analog Y AntiDeadZone=0
Right Analog X=3
Right Analog Y=-6
Right Thumb=12
Right Analog X DeadZone=0
Right Analog Y DeadZone=0
Right Analog Y- Button=0
Right Analog X- Button=0
Right Analog X+ Button=0
Right Analog Y+ Button=0
Right Trigger=8
RightTriggerDeadZone=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment