question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement 3rd party controller feature detection

See original GitHub issue

Describe the bug

Currently DS4Windows uses a hardcoded VIDPID list for DS4-like controllers. However what PS4 did officially for those controllers is using the GET REPORT 0x03 to detect the controller presence and their features. The format is partially reversed (and mostly focusing on main controllers instead of steering wheels or guitars) and I’m still working on it. More info on that coming soon.

With this implemented, most licensed controllers (and their knockoffs) should be able to plug-and-play without a VIDPID list of what works and what does not.

To Reproduce

Steps to reproduce the behavior:

  1. Plug in a controller that has VID and PID DS4Windows doesn’t recognize (e.g. Raspberry Pi with this running)
  2. Start DS4Windows
  3. Controller is not recognized

Expected behavior

These controllers should be recognizable with the correct feature automatically used/avoided by DS4Windows.

Screenshots and Logs

Probably not necessary since there’s nothing useful in it.

Desktop (please complete the following information):

  • Controller Make and Model: Other 3rd party licensed PS4 controller or their knockoffs.
  • OS: Windows 10 20H2
  • DS4Windows Version [e.g. 3.0.3]: 3.0.13

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
nefariuscommented, Aug 6, 2021

Users need to understand that it is not the responsibility of people like @Ryochan7 to provide free fixes for screwed up firmware of counterfeit hardware manufacturers who themselves couldn’t give less of a damn about helping community software flourish. They produce that ASIC crap as cheap as possible and invest into scamming tricking customers into thinking it’s legit hardware and then offload all the issues to someone else, like us. No, just a big fat no. If you buy counterfeit hardware, you support these clowns and make our lives miserable by flooding pointless support requests. Stop giving these leeches your money and stop opening issues about it. My two cents.

0reactions
dogtopuscommented, Aug 6, 2021

Well I mostly have a love-hate relationship with those bootleggers. Sure they cause a lot of problems and redirect the blames, but they also provided cheap 90% OK clones that I can potentially repurpose (swapping PCBs, etc.) or gave insights on how some “less known” parts of the controller really work. Ironically due to lack of quality control and thus security it’s sometimes easier to hack them and get the firmware than official controllers. Again this is uncertain since they are bootlegs but they more or less widen the attack surface.

But still bottom line: this has nothing to do with consumers. Consumers should be informed and stop buying knockoff peripherals.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there a way to force 3rd party Switch Pro Controllers ...
Is there any way for the Steam user to directly force the Steam to recognize the controller as a Switch Pro Controller? I...
Read more >
BetterJoy can detect my 3rd party pro controller but I ...
My 3rd party pro controller can connect using Bluetooth with Windows 10 and it can be recognized by BetterJoy.
Read more >
Topic: I need some help with a third party controller
Hey so I'm trying to use a pro controller on my Lite, it's a third-party wired one. The home button lights up for...
Read more >
Having an issue getting a 3rd party xbox one controller to ...
The kernel doesn't understand it's an Xbox One controller, the is done by it comparing it's USB Vendor and Product Identification codes against ......
Read more >
View topic - Third Party Hardware Device Detection
So, I read a blog post from Activision that players with third party hardware devices will be detected and banned with continued use....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found