Re: [PATCH] eeepc-wmi: set the touchpad toggle key code to F21
From: Martin Pitt
Date: Fri Feb 25 2011 - 05:02:22 EST
Keng-Yü Lin [2011-02-25 17:22 +0800]:
> Can udev re-map a key code to another?
Not directly, as udev itself doesn't actually process the input
events. It just pokes the scan code -> keycode map into the kernel.
What it can do is to re-map an existing key (scan code) to a different
key code, which provides the same effect in most cases.
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/