aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/eeepc-wmi.c
diff options
context:
space:
mode:
authorChris Bagwell <chris@cnpbagwell.com>2010-10-11 19:47:17 -0400
committerMatthew Garrett <mjg@redhat.com>2010-10-21 10:10:51 -0400
commiteda1748418beb1b9a75d0cea3304edf922c66134 (patch)
tree01500058bda60b707099b9561701a4b36d3b9abc /drivers/platform/x86/eeepc-wmi.c
parente253fb944d3335a29bc392eafbe14c43832e806a (diff)
eeepc-wmi: add additional hotkeys
Added 4 hotkeys using same keymap values as eeepc-latop. These are mousepad toggle, resolution change, screen off, and task manager. These were tested on 1005PE and are the Fn-F3, F4, F7, and F9, respectively. Also, added a new hot key for power toggles (Fn-Space on 1005PE) and is meant to drive cpufv interface from userspace. Signed-off-by: Chris Bagwell <chris@cnpbagwell.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/eeepc-wmi.c')
-rw-r--r--drivers/platform/x86/eeepc-wmi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c
index 9dc50fbf3d0b..21df266c27ac 100644
--- a/drivers/platform/x86/eeepc-wmi.c
+++ b/drivers/platform/x86/eeepc-wmi.c
@@ -69,6 +69,11 @@ static const struct key_entry eeepc_wmi_keymap[] = {
69 { KE_IGNORE, NOTIFY_BRNDOWN_MIN, { KEY_BRIGHTNESSDOWN } }, 69 { KE_IGNORE, NOTIFY_BRNDOWN_MIN, { KEY_BRIGHTNESSDOWN } },
70 { KE_IGNORE, NOTIFY_BRNUP_MIN, { KEY_BRIGHTNESSUP } }, 70 { KE_IGNORE, NOTIFY_BRNUP_MIN, { KEY_BRIGHTNESSUP } },
71 { KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } }, 71 { KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } },
72 { KE_KEY, 0x6b, { KEY_F13 } }, /* Disable Touchpad */
73 { KE_KEY, 0xe1, { KEY_F14 } },
74 { KE_KEY, 0xe9, { KEY_DISPLAY_OFF } },
75 { KE_KEY, 0xe0, { KEY_PROG1 } },
76 { KE_KEY, 0x5c, { KEY_F15 } },
72 { KE_END, 0}, 77 { KE_END, 0},
73}; 78};
74 79