Dmitry Torokhov wrote: > On Fri, Sep 18, 2009 at 01:13:17PM +0800, Xiangfu Liu wrote: >> Hi. >> >> I want make the CtrlR and CtrlL output different keys. >> like: >> >> CtrlR + U = 7 >> CtrlR + U = Control + U. >> >> so I modify the keyboard.c code. attach is the code. >> >> give me some feedback about this patch. >> thanks. > > You should be able to do what you want by loading proper keymap; no need > to adjust the keyboard code (especially in a way that does not make > sense for other devices). > yes. I saw your last email. it's work on. I revert the code in our kernel repos. thanks again. Best Regards -- Xiangfu Liu Email: xiangfu at qi-hardware dot com Web: http://www.qi-hardware.com -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html