Re: [PATCH 1/2] asus-nb-wmi: correct a touchpad hotkey mapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 28, 2012 at 6:58 AM, AceLan Kao <acelan.kao@xxxxxxxxxxxxx> wrote:
> 0x60 is touchpad enable key, but is misdefined in the keymap.
>
> Signed-off-by: AceLan Kao <acelan.kao@xxxxxxxxxxxxx>
> ---
>  drivers/platform/x86/asus-nb-wmi.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
> index 6b0ebde..ab44fee 100644
> --- a/drivers/platform/x86/asus-nb-wmi.c
> +++ b/drivers/platform/x86/asus-nb-wmi.c
> @@ -180,7 +180,7 @@ static const struct key_entry asus_nb_wmi_keymap[] = {
>         { KE_KEY, 0x5D, { KEY_WLAN } }, /* Wireless console Toggle */
>         { KE_KEY, 0x5E, { KEY_WLAN } }, /* Wireless console Enable */
>         { KE_KEY, 0x5F, { KEY_WLAN } }, /* Wireless console Disable */
> -       { KE_KEY, 0x60, { KEY_SWITCHVIDEOMODE } },
> +       { KE_KEY, 0x60, { KEY_TOUCHPAD_ON } },
>         { KE_KEY, 0x61, { KEY_SWITCHVIDEOMODE } },
>         { KE_KEY, 0x62, { KEY_SWITCHVIDEOMODE } },
>         { KE_KEY, 0x63, { KEY_SWITCHVIDEOMODE } },
> --
> 1.7.9.5
>
> --
> 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

Acked-by: Corentin Chary <corentin.chary@xxxxxxxxx>

-- 
Corentin Chary
http://xf.iksaif.net
--
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


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux