Open notgull opened 1 year ago
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.
Does GTK use X11 keysyms? If it does it's tempting to at least try
Gtk-rs binds to the GDK keysyms. (code generation using gir)
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
xkbcommon
(cc @rtbo), see rust-x-bindings/xkbcommon-rs#43smithay-client-toolkit
(cc @i509VCB), see Smithay/client-toolkit#378xkbcommon-dl
(cc @kchibisov), rust-windowing/xkbcommon-dl#8rust-xkb
(cc @meh), PR not filed yetI'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-windowingI'll also ping @psychon and @eduardosm, since you've both expressed interest in unifying the X11 ecosystem (re
as-raw-xcb-connection
).