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

Re: Touchscreen support in d-i



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 :
> > - How to detect that there is no physical keyboard?
> 
> In principle console-setup should be able to detect that. In some cases
> it might not be possible to determine it accurately, so it may be good
> to keep an icon available to start it from the touchpad.

Yeah, I've seen that.
But an icon? I'm not sure where/how to do it...

> > - There are only a few layouts, and they are often incomplete/too basic.
> > 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. Gtk has its own functions and tables to do that,
however, maybe we could use it, as it's already in d-i.

> Samuel
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: