We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4889

Summary: [Wayland] XKB swapescape not recognized (does not change keycode)
Product: SDL Reporter: Sawyer Bergeron <sawyerbergeron>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: yalterz
Version: HG 2.1   
Hardware: x86_64   
OS: Linux   

Description Sawyer Bergeron 2019-12-06 21:20:14 UTC
When using xkb to swap escape and caps lock on wayland, SDL does not recognize the change occurred and continues to put out non-remapped keycodes
Comment 1 Sawyer Bergeron 2019-12-06 21:26:10 UTC
Initial inspection doesn't turn up any instance of the mapping gotten from xkb_keymap_new_from_string (src/video/wayland/SDL_waylandevents.c: 549) ever being used, but I could be completely mistaken on this