https://bugs.winehq.org/show_bug.cgi?id=48545
Bug ID: 48545 Summary: SDL GameControllerAddMapping registry keys do not work Product: Wine Version: 5.0 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: hid Assignee: wine-bugs@winehq.org Reporter: zakk@rsdio.com
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?)