Skip to content

Conversation

@pentamassiv
Copy link
Collaborator

Until recently, the keymap module was used for the wayland and x11rb features. The code diverged and now I think it doesn't make that much sense to use the same keymap module anymore.

This PR works on improving the keymap handling with x11rb. The goal is to get the state from the X11 server so it is always in sync

The keymap only had to be generic because it was used by x11 and Wayland and they had different types for the keycodes. Since keymap is no longer used by Wayland, there is no need for generics
8 modifiers are often used, buth there can actually be 32 modifiers
Fewer elements of the iterator get copied, because only elements that passed the filter get copied
@pentamassiv pentamassiv marked this pull request as draft May 6, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant