Radical idea for X-modmap problem.

Jim Gettys jg at freedesktop.org
Sun Jul 26 13:56:29 PDT 2009


David Moffatt wrote:
> Responding to the thread about mapping hardware scan codes --> X key
> codes and keyboards with > 248 keys.
> 
> Perhaps the solution is to take the hardware scan code --> Symbol
> problem out of the X layer entirely.  Let the OS deal with that in its
> own manner.  
> 

X already does this: keycodes in X have no need to be even remotely 
similar to what the operating system does, or what the hardware generates.

Keycodes on various other platforms may have values that bear no 
resemblance to the codes used in Linux, or in IBM derivative keyboards.

And it is nice enough to tell you if the keycode->keysym translations 
have changed (on the fly).

			- Jim



More information about the xorg mailing list