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

Tracking issue for making xkeysym the source of truth for X11 keyboard symbols #6

Open
notgull opened this issue Apr 24, 2023 · 3 comments

Comments

@notgull
Copy link
Member

notgull commented Apr 24, 2023

It was suggested to make this crate serve as a "source of truth" for keyboard symbols across the Rust GUI ecosystem (between X11 and Wayland). This issue serves as a tracking issue for all PRs/issues I file to do this.

Repositories to file PRs against

I'll file draft PRs at first to make sure the interface checks out in all cases. Once I'm sure that we have the API that we want, I'll release xkeysym version 1.0.0 and mark all of these as ready.

Other matters

It was discussed that this repository should be moved to be under either @Smithay or @rust-windowing. Not sure what the organization admins' thoughts on that are. Done! It's been moved to @rust-windowing

I'll also ping @psychon and @eduardosm, since you've both expressed interest in unifying the X11 ecosystem (re as-raw-xcb-connection).

@pentamassiv
Copy link
Contributor

There is also https://gtk-rs.org/gtk3-rs/stable/latest/docs/gdk/keys/struct.Key.html, but since GTK is X11 and Wayland, I am not sure they'd want to switch.

@notgull
Copy link
Member Author

notgull commented Nov 19, 2023

Does GTK use X11 keysyms? If it does it's tempting to at least try

@rtbo
Copy link

rtbo commented Nov 25, 2023

Gtk-rs binds to the GDK keysyms.
(code generation using gir)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants