https://bugs.winehq.org/show_bug.cgi?id=54392
Bug ID: 54392 Summary: Cyberpunk 2077: Wayland: Only primary keyboard layout passed through to the game. Product: Wine Version: 7.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: uselessthings@protonmail.com Distribution: ---
In CP2077 running under Wine's Wayland implementation, only the primary keyboard layout is passed along. The compositor Hyprland uses the XKB spec to set keyboard layouts, and setting XKBLAYOUT=us, de XKBOPTIONS=grp:ctrl_shift_toggle only passes the us layout to the game. Switching the configuration around to XKBLAYOUT=de, us, only the German layout is passed along to the game and hitting the toggle keybind does nothing to change it.