Description
Bevy version
bevy = { version = "0.15.2", features = ["dynamic_linking", "wayland"] }
[Optional] Relevant system information
Arch Linux 6.12.10-zen1-1-zen. Wayland Sway WM.
What you did
I'm using xkb_file sway command to modify default keyboard layout, it includes swapping Ctrl with Caps Lock keys functionality. Every other application, games, steam games, wine and etc uses my overridden configuration. But bevy does not. So to be clear
Physical key | Key functionality |
---|---|
Ctrl | Caps Lock |
Caps Lock | Ctrl |
xkb file: https://github.com/SL-RU/i3config/blob/think/default.xkb
command to reproduce: swaymsg input '*' xkb_file ./default.xkb
What went wrong
When I press physical key CapsLock ButtonInput<KeyCode>
receives press KeyCode::CapsLock
and when I press physical key Ctrl ButtonInput<KeyCode> receives
KeyCode::Ctrl`. So it is ignoring system setting and seems to be using some default xkb configuration