On Thu Apr 30 10:17:05 2026 +0000, Rémi Bernon wrote:
Sorry maybe I'm wrong but I just don't see where this is going with the few patches here. If you have a larger series with the bigger picture please push it somewhere so I can make up my mind. It's not entirely orthogonal because of those interactions with `ActivateKeyboardLayout` and `GetKeyboardLayoutName`, especially the latter has to figure out the keyboard layout from the HKL alone if there is no registry data to help, and something like this patch is needed. Although, one thing I should mention is that "Layout Id" is only present in the registry for variant layouts[*], so this kind of change will need to stay around even after the registry data is in place. I'll tweak the patch to make that more clear.
Yes, the idea was to put all the data in wine.inf. And yes, the full DB is huge, but I guess it can be brought in in steps... [*]: e.g. KLID 00000409 (US) has no "Layout Id" entry and a HKL 0x0409<locale id>, KLID 00010409 (United States-Dvorak) has "Layout Id" 0002 and thus HKL 0xf002<locale id> -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10779#note_138356