[Meego-kernel] [PATCH] gpio_button: Change the default keycode of home_btn

jekyll jekyll.lai at gmail.com
Tue Feb 1 07:04:32 PST 2011


2011/2/1 Alan Cox <alan at linux.intel.com>:
> On Tue,  1 Feb 2011 03:42:04 +0800
> Jekyll Lai <jekyll.lai at gmail.com> wrote:
>
>> Change the default keycode of home_btn to KEY_LEFTMETA.
>
> I'm somewhat reluctant to do this because the keymap for the different
> Moorestown boards isn't necessarily the same. Probably we should only
> make this board dependent using the DMI data in the the firmware to
> decide which board we are.
>
I will agree with you if this key is the other key not home button. In
fact, KEY_LEFTMETA also is known as windows key that would show
desktop while the key is pressed. This action is more like the
behavior of home button. The previous patch I sent about home_btn
isn't suitable. So I resend a patch to fix it. Thanks.


More information about the MeeGo-kernel mailing list