On Tue, Apr 28, 2009 at 11:10:57AM +0200, Marvin Raaijmakers wrote:
> Well I developed keyTouch, a program that allows the user to bind
> actions to extra function keys (like the Play/Pause, WWW or Zoom keys
> for example) on a keyboard. KeyTouch is a collection of programs. One
> program binds a key's scancode to a Linux keycode. So it changes the
> mapping inside the Linux kernel. Another program is an X client and
> grabs all key events of the extra function keys. So this program needs
> to know the X keycodes of the keys and thus it will have to translate
> the kernel keycode to the X keycode. These translations are different
> when the evdev input driver is used by the X server instead of the kbd
> driver.

This sounds like the wrong way to do it. Why not just ensure that the 
keymap contains the correct keycode->keysym mappings in the first place?

-- 
Matthew Garrett | mj...@srcf.ucam.org
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to