Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XKB configuration is ignored #17750

Open
SL-RU opened this issue Feb 9, 2025 · 0 comments
Open

XKB configuration is ignored #17750

SL-RU opened this issue Feb 9, 2025 · 0 comments
Labels
C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled

Comments

@SL-RU
Copy link

SL-RU commented Feb 9, 2025

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

@SL-RU SL-RU added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled
Projects
None yet
Development

No branches or pull requests

1 participant