gitwtfhub

wtf is ghostcontrol-ps5-usb-controller-patcher?

stonedmodder/ghostcontrol-ps5-usb-controller-patcher — explained in plain English

Analysis updated 2026-05-18

52CAudience · developerComplexity · 5/5LicenseSetup · hard

TL;DR

A jailbroken-PS5 payload that lets third-party USB controllers work by impersonating a DualSense controller.

Mindmap

mindmap
  root((repo))
    What it does
      Virtual DualSense
      Reads USB controller input
      Auto reconnect
    Tech stack
      C
      PS5 payload SDK
    Use cases
      Third-party controller support
      Jailbroken PS5 modding
    Audience
      Console modders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Use a supported third-party USB controller on a jailbroken PS5.

REASON 2

Extend the payload to add support for a different USB controller model.

REASON 3

Study how a virtual game controller can be created and driven from real input.

What's in the stack?

CPS5 SDK

How it stacks up

stonedmodder/ghostcontrol-ps5-usb-controller-patchermaftymanicemu/dukexalphapixel/eric-graham-1987-juggler-raytracer-1.0
Stars525254
LanguageCCC
Setup difficultyhardhardhard
Complexity5/55/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · hard Time to first run · 1h+

Requires an already jailbroken PS5 and the dedicated PS5 payload SDK to build.

GPL-3.0: free to use and modify, but any distributed modified version must also be open sourced under GPL-3.0.

Wtf does this do

Ghostcontrol is a PS5 payload that lets you use third-party USB controllers on a jailbroken PS5 through the front USB port. The PS5 normally only accepts its own DualSense controller, but this tool works around that by reading input from any supported USB controller and forwarding it into a virtual DualSense that the PS5 recognizes as legitimate. The way it works: the payload creates a virtual DualSense controller using an internal PS5 system call, then reads button and stick input from the physically plugged-in controller at 60 times per second. Those inputs are translated and injected into the virtual controller, so the PS5 sees what it expects to see. The virtual controller is automatically bound to the logged-in user when the payload starts. If the physical controller is unplugged and reconnected, the payload reconnects automatically. Currently only one controller is confirmed working: the 8BitDo Ultimate 2 in Nintendo Switch Pro Controller mode. The README notes one other mode of the same controller as untested, and there is a separate guide file explaining how to add support for other USB controllers. Running this requires a PS5 that has already been jailbroken with a kernel exploit. You compile the payload using a dedicated PS5 payload SDK, then send the resulting file to the PS5 over the local network using a standard netcat command. A pre-compiled version is also included in the repository for users who do not want to build from source. The project is licensed under GPL-3.0 and is the work of a single developer who accepts Bitcoin donations.

Yoink these prompts

Prompt 1
Explain how this payload creates and feeds a virtual DualSense controller.
Prompt 2
Walk me through the steps to compile and send this payload to a jailbroken PS5.
Prompt 3
Help me understand what changes are needed to add support for a new USB controller.

Frequently asked questions

wtf is ghostcontrol-ps5-usb-controller-patcher?

A jailbroken-PS5 payload that lets third-party USB controllers work by impersonating a DualSense controller.

What language is ghostcontrol-ps5-usb-controller-patcher written in?

Mainly C. The stack also includes C, PS5 SDK.

What license does ghostcontrol-ps5-usb-controller-patcher use?

GPL-3.0: free to use and modify, but any distributed modified version must also be open sourced under GPL-3.0.

How hard is ghostcontrol-ps5-usb-controller-patcher to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is ghostcontrol-ps5-usb-controller-patcher for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.