[Xcb] Keyboard input...

Arnaud Fontaine arnaud at andesi.org
Thu Jan 15 11:22:07 PST 2009

>>>>> "Matthew" == Matthew Allen <fret at memecode.com> writes:

    Matthew> Ok  so no-one has  come forward with info  on international
    Matthew> keyboard input, so what about plain old ascii key input?

    Matthew> I've found xcb_get_keyboard_mapping(), but I don't know how
    Matthew> to use that either. Anybody able to point me towards some
    Matthew> docs or info on X keyboard mappings or should I read the X
    Matthew> protocol spec?

    Matthew> After  I satisfy  my own needs  (english/ascii) I  would be
    Matthew>   interested  in   doing   some  work   to  enable   proper
    Matthew> international  text input in XCB, including  east asian and
    Matthew> european  input. Not sure how  that will go, but  if XCB is
    Matthew> going to  go anywhere at all with libs like  GTK and Qt, at
    Matthew>  some point  the international  input problem  needs  to be
    Matthew> solved? Right?  -- Matthew Allen


There are  examples of using  xcb keyboard functions in  Awesome code[0]
and  also an  implementation of  XLookupString() (which  works basically
because XKB  is not available),  I dunno if  it would be helpful  to you
though ;).

Barton: what is the status of X keyboard input at the moment? I saw some
efforts towards  a XKB  extension in  XCB but it  has not  been finished
bcause XKB is supposed to be replaced, but I couldn't find anything...

Arnaud Fontaine  

[0] http://git.naquadah.org/?p=awesome.git;a=tree

More information about the Xcb mailing list