Menu Close

[Tutorial] UE4 using Dualshock4 controller (via USB, PS4 Gamepad).

Edit > Plugins > Add Windows Raw Input.
Edit > Project Settings > Raw Input :

Set Register Default Device True.
Add 1 Device Configurations.
VendorID 0x054C
ProductID 0x05C4
(If your using a second-gen DS4 controller, change this IDs to 0x09CC )
Axis Properties > Inverted True, Offset 0.5.

Edit > Project Settings > Input :
Use Scale 2.0 for each GenericUSBController Axis.

GenericUSBController config/events:

X - Generic USB Button 2
[] - Generic USB Button 1
O - Generic USB Button 3
/ - Generic USB Button 4

L1 - Generic USB Button 5
L2 - Generic USB Button 7 + Axis 8
L3 - Generic USB Button 11

R1 - Generic USB Button 6
R2 - Generic USB Button 8 + Axis 7
R3 - Generic USB Button 12

LStick V - Axis 3
LStick H - Axis 4

RStick V - Axis 1
RStick H - Axis 2

Dpad V - Axis 5
Dpad H - Axis 6

Share - Generic USB Button 9
Options - Generic USB Button 10
PSButton - Generic USB Button 13
TouchPad Click - Generic USB Button 14
UE4 Dualshock4 Raw Input config

Comments are welcome.

Similar

%d bloggers like this: