Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate more reliable method of detecting controllers #66

Open
rsubtil opened this issue Sep 23, 2023 · 2 comments
Open

Investigate more reliable method of detecting controllers #66

rsubtil opened this issue Sep 23, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@rsubtil
Copy link
Owner

rsubtil commented Sep 23, 2023

godotengine/godot#78539 added a way to get more "raw" information about a controller. In particular, it gives access to vendor/product ID on Linux.

Since there are public databases (such as https://devicehunt.com) documenting this information, controller model detection on Linux can be made much more reliable.

@rsubtil rsubtil added the enhancement New feature or request label Sep 23, 2023
@mubinulhaque
Copy link

On the one hand, I like this idea because it could bypass things like Steam Input. On the other hand, it can cause issues when companies publish revisions of existing controllers. For examples, some games like Dying Light support PS4 buttom prompts but ONLY when the DS4 V1 controller is used. This controller is no longer manufactured and you have to use DS4Windows to spoof the software.

@rsubtil
Copy link
Owner Author

rsubtil commented Sep 23, 2023

On the one hand, I like this idea because it could bypass things like Steam Input. On the other hand, it can cause issues when companies publish revisions of existing controllers. For examples, some games like Dying Light support PS4 buttom prompts but ONLY when the DS4 V1 controller is used. This controller is no longer manufactured and you have to use DS4Windows to spoof the software.

Yeah, controller revisions make this much harder, thus why I'm keeping the idea now as backlog until I do more research/receive feedback. I can say though that I'd definitely only use this mechanism if it is more reliable, and keep the fallback to the controller name the OS reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants