GIMX icon indicating copy to clipboard operation
GIMX copied to clipboard

Wired DS4 emulation

Open matlo opened this issue 6 years ago • 3 comments

Emulate a wired DS4 (v2) instead of a Hori Pad 4 FPS Plus.

matlo avatar Aug 29 '17 20:08 matlo

Could you anticipate this enhancement ? Ds4 v2 have refresh polling rate of 250hz that's 6ms less then v1. That should increase some precision in FPS games also me and my brother are trying to do an aimbot, every ms counts.

Cybereu avatar Jun 20 '18 17:06 Cybereu

The current gamepad emulation (EMUPS4) provides a 5ms max refresh period. The software has a default refresh period of 10ms. This can probably be lowered to 5ms. You can try this using the command line.

matlo avatar Jun 20 '18 20:06 matlo

So I gave this a shot and found out that it is not that simple...

When I connect a DS4v2 to the PS4, it shows exactly the pairing sequence of a DS4v1 would have. Then when I press the PS button, there is a lag that is awfully similar to what a DS4v1 would have when connect via Bluetooth and most importantly, I can't see any activities over the USB when the lag happens besides the usual IN and OUT report flood.

I personally don't own a Bluetooth sniffer so I can't say for sure, but looks like the DS4v2 still connects to the PS4 via Bluetooth first to perhaps verify the link key, and then switches to the USB mode.

If that's the case then simply replaces Hori FPS with wired DS4 isn't a real option since then a Bluetooth adapter will be a must-have even for a wired-only setup.

(Actually there is a possible workaround: We make DS4v2 connect to the PS4 via Bluetooth to negotiate the USB connection, and then once the PS4 disconnects the DS4v2 on Bluetooth, we fully take over the USB and stream reports to PS4 via USB. That would require using a DS4v2 as the "sacrifice controller" though.)

dogtopus avatar Nov 21 '18 05:11 dogtopus