How fliggibish/undercontroldualshock3 works
This repository is an experimental Linux kernel module for Under Control DualShock 3 controllers over Bluetooth. The workflow is: pair the controller, let the Linux L2CAP stack handle its connection, and use module-installed inspectors to adapt incoming signaling packets and filter outgoing HID reports. The README also identifies a required kernel patch; its implementation is not shown here, so its role is limited to enabling the integration. The sampled source shows packet handling and hook registration, but not the patch’s internals.
Main entry points: module.c Receive adaptation · kernel_patch.diff Inspector patch
Components 6
Kernel integration
- Linux L2CAP
- Inspector patch
kernel_patch.diff - uc_ds3 module
module.c
Packet handling
- Receive adaptation
module.c - Output filtering
module.c
Other components
- DS3 controller
Connections 7
- DS3 controller → Linux L2CAP: sends Bluetooth packets
readme.md - Inspector patch → Linux L2CAP: enables inspectors
readme.md - uc_ds3 module → Linux L2CAP: registers hooks
module.c - Linux L2CAP → Receive adaptation: dispatches received packets
module.c - Linux L2CAP → Output filtering: dispatches outgoing packets
module.c - Receive adaptation → Linux L2CAP: rewrites signaling
module.c - Output filtering → DS3 controller: filters output reports
module.c