Detecting the used keyboard driver
gregory at 2x.com
Tue May 5 00:33:29 PDT 2009
2009/5/4 Alan Coopersmith <Alan.Coopersmith at sun.com>
> Gregory Smirnov wrote:
> > Hello, I use program that depends on X keycodes as well and have the
> > same problem.
> Your program has always been broken then - X keycodes are different
> on different platforms and servers, and as kbd/evdev show, sometimes
> even different drivers on the same server/platform. It has been
> well documented for 20+ years that the only valid meaning of an X keycode
> is to lookup a keysym in the current table and that applications should all
> use keysyms, not keycodes.
> > Evdev is suceeder of xkb, why *some* keycodes has just changed without
> > an option to check the system for compatibility?
> evdev does not suceed or replace XKB - they're two different levels of
> the stack. evdev replaces xf86-input-kbd on Linux systems - both of
> those drivers report up to the core Xorg server which uses XKB.
But total dependency on keysyms is wrong as well. That is why Copy/Paste
(Ctrl+C/V) does not work properly in multi-language environments.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xorg