Closed Ralith closed 8 years ago
I should be able to get on this tomorrow. Unfortunately, I'm waiting for untagged unions to become stable before moving to generated bindings.
@Ralith 33be439 Are these the types and constants you were looking for?
Thanks! That's the types I needed. However, it looks like you missed the event type and event type mask constants (such as XkbMapNotify
and XkbMapNotifyMask
) starting around line 69 of X11/extensions/XKB.h (from kbproto).
86d346b Sorry for the delayed response. I've been working two jobs, so my time for programming has been limited :( I'll publish these changes if that's everything you needed.
That looks like all the stuff I need, thanks!
No worries about the delay, if I couldn't wait I'd have made a PR. Fortunately Rust makes it pretty easy to bodge this stuff. Thanks for all your work!
Thanks and published!
The various
Xkb*
events and flags don't seem to be bound. These are needed for reliable keyboard handling withxkbcommon-x11
. It's easy to work around this by defining whatever you need locally and using transmute, but that leads to duplication of effort. The planned move to autogenerated bindings (#40) should fix this, but I thought I'd make a note anyway.