[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Touchscreen support in d-i



Thibaut Girka, le Fri 05 Nov 2010 22:03:54 +0100, a écrit :
> Le jeudi 04 novembre 2010 à 23:40 +0100, Samuel Thibault a écrit : 
> > Thibaut Girka, le Thu 04 Nov 2010 23:09:53 +0100, a écrit :
> > > Does it worth the pain of fixing them/adding new ones? Can't it be done
> > > in a semi-automatic way?
> > 
> > It should just support xkb-data layouts.
> 
> Hm, but how to do that?
> I've had a quick look at what the gnome tools do, but it really seems
> overly complicated. Moreover, we want a simplified keyboard.
> Maybe we could just have keycodes in the keyboard definition, and use
> xlib to do the keycode to keysym lookup (that way, the layout of the
> virtual keyboard is the one set in X), but AFAIK, keycodes are
> vendor-dependant, and I can't find an xlib function to do KeyCode/KeySym
> to utf8 lookup.

You mean XLookupString ?

Have a look at xkbprint, it exactly is able to show your keyboard as X
knows it.

Samuel


Reply to: