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

add options to override virtual device name and vendor/product/version IDs #171

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

taleden
Copy link

@taleden taleden commented Oct 30, 2019

Some games' built-in support for certain controllers seems not to work correctly when run via wine, but if the USB IDs of ds4drv's virtual uinput device are changed to something that does not emulate a real device (i.e. a real DS4 or XBox controller), then it works just fine as a "generic joystick."

Specifically, Elite Dangerous run via Steam/Proton has this problem. If ds4drv's virtual vid:pid match a real DS4 or Xbox controller, then the game cannot bind actions to certain controller functions (such as the touchpad click); conversely if ds4drv sets the vid:pid to 0:0, then the game thinks the controller is invalid and cannot save control bindings for it at all. But by "spoofing" the vid:pid (using i.e. 27dc:16c0), the controller works perfectly.

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

Successfully merging this pull request may close these issues.

1 participant