Skip to content

XKB configuration is ignored #17750

Open
Open
@SL-RU

Description

@SL-RU

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AccessibilityA problem that prevents users with disabilities from using BevyA-InputPlayer input via keyboard, mouse, gamepad, and moreA-WindowingPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorO-LinuxSpecific to the Linux desktop operating systemS-Waiting-on-AuthorThe author needs to make changes or address concerns before this can be merged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions