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

batocera-wine: disable hidraw by default #13083

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aderumier
Copy link
Contributor

since version 8.X, wine have enable hidraw by default, and this is breaking xinput for lot of gamepads.
(I have tested dualshock4, dualsense controllers, and sinden lightgun)

https://selfmadepenguin.wordpress.com/2024/02/14/how-i-solved-my-gamecontroller-problems/

https://social.treehouse.systems/@mgorny/112146040904035612

https://bugs.winehq.org/show_bug.cgi?id=56306

wine-ge have patches to disable hidraw by default
https://github.com/GloriousEggroll/wine-ge-custom/releases/tag/GE-Proton8-7

This patch add the registry key to disablehidraw=1 by default, and allow to revert to hidraw with a new "enable_hidraw" option

since version 8.X, wine have enable hidraw by default,
and this is breaking xinput for lot of gamepads.
(I have tested dualshock4, dualsense controllers, and sinden lightgun)

https://selfmadepenguin.wordpress.com/2024/02/14/how-i-solved-my-gamecontroller-problems/

https://social.treehouse.systems/@mgorny/112146040904035612

https://bugs.winehq.org/show_bug.cgi?id=56306

wine-ge have patches to disable hidraw by default
https://github.com/GloriousEggroll/wine-ge-custom/releases/tag/GE-Proton8-7

This patch add the registry key to disablehidraw=1 by default, and allow to revert
to hidraw with a new "enable_hidraw" option
@Darknior
Copy link

Very good idea :)

@Tovarichtch Tovarichtch added blocker issue blocking the next release workaround provided 41 version 41 labels Dec 18, 2024
@aderumier
Copy link
Contributor Author

note: only modern games support hidraw when they need special features (gyroscope for example, flight simulator with special stick,..), that's why we should be able to enable it if needed.

Steam as workaround, enable hidraw by default, but have "virtual controller" in the steam running to emulate xinput stick on top of hidraw, and habe both as the same time.

@aderumier
Copy link
Contributor Author

I was thinking to look at new umu-launcher from wine-ge/proton-ge devs, but they are same problem, the steam input (for virtual controller) is proprietary and not opensource code is available.

Open-Wine-Components/umu-launcher#117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
41 version 41 blocker issue blocking the next release workaround provided
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants