Category PS4 CFW and Hacks       Thread starter PSXHAX       Start date Nov 12, 2019 at 12:46 AM       1,919       1            
Recently StanfordRoboticsClub shared on Github a collection of methods using a DualShock 4 PS4 Controller with UDPComms, which is a Python library to enable communication between different processes over a network using UDP (User Datagram Protocol) for developers. :geek:

Download: JoystickUDP-master.zip / GIT

According to the README.md it currently works in Python, but should be relatively simple to extend to C to run on embedded devices like Arduino.

Rover

The library also comes with the rover command that can be used to interact with the messages manually.

Command Description
rover peek port print messages sent on port port
rover poke port rate send messages to port once every rate milliseconds. Type message in json format and press return
There are more commands used for starting and stopping services described in THIS repo.

Known issues:

Macs have issues sending large messages. They are fine receiving them. I think it is related to THIS issue. I wonder does it work on Linux by chance (as the packets happen to be in order) but so far we didn't have issues.

JoystickUDP Collection of Methods Using a PS4 Controller with UDPComms.jpg
 

Comments

Recent Articles
Random Content ID (CID) Generator for PS4 PKG Files by Backporter
Since his DDS Converter for PS4 Themes PlayStation 4 developer @Backporter returns this weekend via Twitter with a Random Content ID (CID) Generator that will generate a random Content ID for PS4...
Sony Announces End of PlayStation 3 (PS3) Partial Message Service
Proceeding their PS3 End of Production a few years back, Sony of Japan announced the end of PlayStation 3's partial message service as of June 30, 2020. ☠ This means message functions between...
PS4 .Env Decryptor: Python 2 Script for Decrypting Envelope Files
We've seen PS4 Envelope Files in Logs, the Decrypted sl-config.xml.env with Event Log Servers, some PS4 Envelope File Documentation earlier this week and today PlayStation 4 scene developer...
Star Wars Jedi Knight: Jedi Academy PS4 Launch and Free Themes
Today Star Wars Jedi Knight: Jedi Academy officially launched on the PlayStation 4 with two free PS4 Dynamic Themes available HERE from Aspyr inspired by Star Wars Jedi Knight II: Jedi Outcast and...
Top