Messages in this thread | | | From | Keng-Yü Lin <> | Date | Fri, 25 Feb 2011 17:22:43 +0800 | Subject | Re: [PATCH] eeepc-wmi: set the touchpad toggle key code to F21 |
| |
On Fri, Feb 25, 2011 at 3:18 PM, Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote: > I believe that the kernel should use KEY_TOUCHPAD_TOGGLE and userspace > should use udev's key re-mapping facilities while X is unable to process > keycodes above 255 to adjust to the keycode du jour. If all kernel > drivers were to use KEY_TOUCHPAD_TOGGLE then remapping would be much > easier (the utility would simply check capabilities for > KEY_TOUCHPAD_TOGGLE and do the remap).
Can udev re-map a key code to another?
Am I correct that udev can only re-map a scan code to a specified key code.
| |