On Fri Jun 5 09:29:46 2026 +0000, Rémi Bernon wrote:
Well maybe there's some extra mapping to be done in `GetKeyNameText` then (although would be IMO better to do that special case in win32u), but the extra cases here should go into keyc2scan. If handling the `BREAK` scancode properly is also important, then it should go in keyc2scan as well, with extra modifier key state parameter, and ideally a similar change done on the winewayland side. And probably then while we're fixing exotic scancodes, maybe worth adding the extra cases for PrtSc / SysRq while at it. According to https://kbdlayout.info/kbdus/scancodes, I expect it to be something like: `scan == 0x12a && mod & (Ctrl | Shift) => 0x137` and `scan == 0x12a && mod & (Alt) => 0x54`. To be more precise, what I find unfortunate is to have special cases in driver-specific code. Are these key names causing issues in some way? If so they should probably be special cased in win32u, overriding any driver-specific code. If not, maybe we shouldn't bother about them.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10963#note_142290