DualSHock 4 USB spoofing

Talk about anything concerning the source code.
Post Reply
frank26080115
Posts: 20
Joined: Sun Oct 20, 2013 7:36 pm

DualSHock 4 USB spoofing

Post by frank26080115 »

I got my PS4 and I am using my USBXLATER project to attempt to let me emulate a DualShock 4

I am soooooo very close. My enumeration works, and I can send HID reports. But the PS4 itself refuses to react to different inputs.

I'm a bit stuck... either PS4 just refuses to take USB input or I'm doing something subtly wrong, or there's a side channel verification via BT, or the two magic numbers in the HID report is actually a checksum/hash

I still have a few things I need to try before giving up though.

See USBXLATER: http://eleccelerator.com/usbxlater-preview/

Latest code is on: https://github.com/frank26080115/UsbXlater/

Latest reverse engineering notes: http://eleccelerator.com/wiki/index.php ... ualShock_4

if it does refuse USB input, I might have to make another edition with two USB host and add in a BT dongle
Last edited by frank26080115 on Tue Nov 19, 2013 7:44 pm, edited 1 time in total.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: DualSHock 4 USB spoofing

Post by Matlo »

Did you try to forward the post-enumeration requests & answers between the ps3 and a DS4 connected on the usb hub?
GIMX creator
frank26080115
Posts: 20
Joined: Sun Oct 20, 2013 7:36 pm

Re: DualSHock 4 USB spoofing

Post by frank26080115 »

every time you press the PS button on a real DS4, a SET_REPORT is sent, this seems to happen regardless of whether or not the controller is paired

I relay this down to the DS4 and nothing special happens, still doesn't work.

but when I emulate the same PS button press using keyboard, there is no SET_REPORT sent

I need to give this a small break. I spent all day on this yesterday, I need to get some real work done during the week. Too bad you are in France or else you could have your PS4 already lol.
Post Reply