Category PS4 CFW and Hacks       Thread starter PSXHAX       Start date Nov 12, 2019 at 12:46 AM       1,645       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
PS4 System Software / Firmware 7.01 is Now Live, Don't Update!
It figures Sony wouldn't let the holidays roll by without giving the PlayStation 4 scene a present worthy of regifting, and today following their previous PS4 OFW update comes PS4 System Software...
Resident Evil 3 Returns to PlayStation 4 on April 3rd, 2020
In the footsteps of Resident Evil 2 on PS4 comes Capcom's return to Raccoon City in Resident Evil 3 arriving on PlayStation 4 next April 3rd, 2020! šŸ¦ Here are some RE3 PS4 screenshots alongside...
Sony PlayStation State of Play Live Stream for December 10th, 2019
Today as scheduled Sony held their last PlayStation State of Play December 2019 conference for the year, with a recap of the live stream and video game highlights below for those who missed it...
Redbox Video Game Rentals to End This Year, Game Sales by Early 2020
As GameStop reported massive financial losses and announced the closing of more stores this year, it appears Redbox is getting out of the video game rental business by the end of 2019... they'll...
Top