[Xcb] XCB keyboard input

Ran Benita ran234 at gmail.com
Wed Mar 8 15:32:01 UTC 2017

The 9 you get is called a keycode, from your description what you want
is the keysym, ands its ASCII representation.

Look at the xcb-util-keysyms helper library; it is small and uses the
core X11 protocol:

If you need more advanced handling, you can use libxkbcommon-x11; this
library uses the XKB extension:

Both libraries are available as packages in all common distros.


More information about the Xcb mailing list