A repository with utilities and studies of the PS-P02 controller. This gamepad is a clone of DualShock 4, similar to DualSense. With a simple wired connection to a PC, the controller connects in Xbox gamepad mode, but when sending certain packets, it starts working in DualShock 4 mode. It would be great to find out and repeat these packets.
You can control the light bar of this controller with using the P02Customizer utility. The controller still works in the Xbox gamepad mode, but with a modified light bar.
Turning on the light bar (fix it):
P02Customizer.exe -e
Turning off the light bar:
P02Customizer.exe -d
Changing the color of the light bar:
P02Customizer.exe 0 255 255 (in RGB format 0-255, 0-255, 0-255)
You can also use the batch files included in the package.
When connecting the controller to the PC, it expects some packets and if these packets are not received, then it starts working in the Xbox gamepad mode.
If the game Days Gone or CyberPunk 2077 is running and the controller is reconnected to the PC, then PS-P02 starts working in DualShock 4 mode (the gyroscope and touch panel work). The lightbar is turned on by a USB package with P02Customizer. PS Now it also activates this mode, even without authorization.
I recorded all the packets sent by the game to the controller and tried to repeat them, but it didn't work out, I only managed to reconnect the controller in DualShock 3 mode. Recording USB packets, as well as developments can be found in the Researches folder.
The controller can also work in the Nintendo Pro controller mode, I was able to call this mode simply by restarting the computer.
Disable and change the light bar;Connecting in DualShock 3 mode;- Connect the controller in DualShock 4 mode;
- Connecting in the Nintendo Switch mode;
r57zone[at]gmail.com