[Bug 48545] SDL GameControllerAddMapping registry keys do not work
WineHQ Bugzilla
wine-bugs at winehq.org
Sat Nov 21 04:48:55 CST 2020
https://bugs.winehq.org/show_bug.cgi?id=48545
--- Comment #2 from Hans Leidekker <hans at meelstraat.net> ---
(In reply to Zakk from comment #0)
> The registry entries to add SDL controller mappings do not work
> (HKLM/CurrentControlSet/Services/WineBus/Map)
>
> I've discovered the enumeration of the subkeys fails with ERROR_ACCESS_DENIED
>
> If I change the RegOpenKeyExW call (line 1039 of bus_sdl.c) to use KEY_READ
> instead of KEY_ENUMERATE_SUB_KEYS the enumeration succeeds and the
> controller mappings are passed to SDL.
>
> The registry keys were created with the stock wine regedit program.
>
> I can provide a diff if really required, but I feel like this might be an
> issue that needs solving somewhere else (perhaps the default permissions on
> registry key creation need tweaking?)
No, KEY_ENUMERATE_SUB_KEYS is wrong. It should be KEY_READ as you suggested.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list