PDA

View Full Version : Modifying a PS4 Dualshock4 Controller to Use a Mouse and Keyboard



wraggster
December 13th, 2013, 23:02
http://hackadaycom.files.wordpress.com/2013/12/open.png?w=580&h=397 (http://hackadaycom.files.wordpress.com/2013/12/open.png)
[Mori] wanted to use his keyboard and mouse to play his favorite games on the PS4, so he decided to modify his Dualshock4 controller to feed it custom input signals (http://www.softfactory.com.br/index.php/blog/entry/carbon-project-hardware-stuff).
In the heart of this build is an STM32F407 discovery board, which is connected to a USB hub. To perform this hack, [Mori] tore open the Dualshock4 controller to find the PCB traces coming from the sticks and buttons. He then used the STM32F407 and 2 Digital to Analog Converters (DACs) to create similar signals. Unfortunately for us, [Mori] only released the schematics but not the firmware. Our guess is that he had to configure the microcontroller as a USB host, enumerate the mouse/keyboard, parse the HID reports and feed the controller the corresponding inputs.
We embedded a video of the hack in action after the break. If you own a PS4, you may also want to see how to disable the Dualshock LEDs (http://hackaday.com/2013/11/29/ps4-controller-leds-suck-the-battery/).

http://hackaday.com/2013/12/12/modifying-a-ps4-dualshock4-controller-to-use-a-mouse-and-keyboard/