Hi Corentin, æ äï2010-10-01 æ 16:03 +0200ïCorentin Chary æåï > On Fri, Oct 1, 2010 at 3:51 PM, Lee, Chun-Yi <joeyli.kernel@xxxxxxxxx> wrote: > > Add acer wmi hotkey event support. Install a wmi notify handler to > > transfer wmi event key to key code, then send out keycode through acer > > wmi input device to userland. > > > > Signed-off-by: Lee, Chun-Yi <jlee@xxxxxxxxxx> > > Hi Lee, > You'll probably want to take a look at the sparse keymap library. Using > it would remove a lot of code from this patch. > Thanks > Thank's for your suggestion, I just goolge it: http://www.spinics.net/lists/linux-input/msg10336.html And, you are right, it's a very good framework for keymap handler. I will modify patch to use sparse keymap library. I believe it already available in newest kernel. Does it already in 2.6.32 kernel? Because I also need backport those 2 patches to 2.6.32.x kernel. Thank's Joey Lee -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html