"Dave Williss" <[EMAIL PROTECTED]> writes:

> In porting an X server to Windows or Macintosh, it would be possible
> to let the OS handle all the keyboard input stuff and the X server would
> just get Unicode.  The question is: Is there a standard way to let the
> X Server pass the client application Unicode values directly?  

No, the X protocol deals with:

 a) Physical keyboard keys
 b) A mapping presented to clients between those physical keyboard
    keys and abstract "key symbols"

It's legitimate for clients to do things like treat a press of
"<Shift>1 = !" the same as a press of "1" because they are on the same
key, or watch presses and releases of the Control key.

The correct thing to do would be to "reverse engineer" the OS's
keyboard map and expose that in an unchangeable fashion via XKB or the
core protocol keyboard map.

Regards,
                                        Owen
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to