eeepc-wmi: set the touchpad toggle key code to KEY_TOUCHPAD_TOGGLE
authorKeng-Yu Lin <keng-yu.lin@canonical.com>
Tue, 1 Mar 2011 04:56:13 +0000 (12:56 +0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:07:24 +0000 (06:07 -0400)
Signed-off-by: Keng-Yu Lin <keng-yu.lin@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/eeepc-wmi.c

index 64e36de2285c9c350dc046ba856ad444689494ce..0ddc434fb93ba2bdb8144f5937ba66707d3c72f5 100644 (file)
@@ -63,7 +63,7 @@ static const struct key_entry eeepc_wmi_keymap[] = {
        { KE_KEY, 0x32, { KEY_MUTE } },
        { KE_KEY, 0x5c, { KEY_F15 } }, /* Power Gear key */
        { KE_KEY, 0x5d, { KEY_WLAN } },
-       { KE_KEY, 0x6b, { KEY_F13 } }, /* Disable Touchpad */
+       { KE_KEY, 0x6b, { KEY_TOUCHPAD_TOGGLE } }, /* Toggle Touchpad */
        { KE_KEY, 0x82, { KEY_CAMERA } },
        { KE_KEY, 0x83, { KEY_CAMERA_ZOOMIN } },
        { KE_KEY, 0x88, { KEY_WLAN } },