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). -- Dmitry -- 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