On Thu Jun 4 16:04:20 2026 +0000, Matteo Bruni wrote:
I basically did that, except I kept (retyped, actually) only the defines that we're using. Let me know how it looks to you. Sorry I actually went to see where this input-event-codes.h include came from and I can't find any previous of the patches introducing it? Is it something you added? I'm not completely sure that introducing a Wine-private header with the definitions duplicated is a good idea when the header is supposed to come from the platform.
I'm not too afraid of the values changing but it still doesn't seem right. If some platform doesn't have it, which should not be a very common situation, I think we could perhaps hardcode for instance `KEY_KPDOT`, but leave the rest behind a #ifdef with a FIXME? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10963#note_142280