aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorCorentin Chary <corentin.chary@gmail.com>2011-12-15 02:27:38 -0500
committerMatthew Garrett <mjg@redhat.com>2012-03-20 12:02:18 -0400
commita2d5dd24af1308d35329d78e74a1a3a94a1c1344 (patch)
tree60e93143e2a73dc2ec9dce84f419541214095486 /drivers/platform
parent7ec48ceda25c6c16ab3f69b6c318d3d196f7abd0 (diff)
asus-laptop: add some keys found on Lenovo SL500
Signed-off-by: Corentin Chary <corentin.chary@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/asus-laptop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c
index c1125b36d177..e38f91be0b10 100644
--- a/drivers/platform/x86/asus-laptop.c
+++ b/drivers/platform/x86/asus-laptop.c
@@ -297,6 +297,7 @@ static const struct key_entry asus_keymap[] = {
297 {KE_KEY, 0x02, { KEY_SCREENLOCK } }, 297 {KE_KEY, 0x02, { KEY_SCREENLOCK } },
298 {KE_KEY, 0x05, { KEY_WLAN } }, 298 {KE_KEY, 0x05, { KEY_WLAN } },
299 {KE_KEY, 0x08, { KEY_F13 } }, 299 {KE_KEY, 0x08, { KEY_F13 } },
300 {KE_KEY, 0x09, { KEY_PROG2 } }, /* Dock */
300 {KE_KEY, 0x17, { KEY_ZOOM } }, 301 {KE_KEY, 0x17, { KEY_ZOOM } },
301 {KE_KEY, 0x1f, { KEY_BATTERY } }, 302 {KE_KEY, 0x1f, { KEY_BATTERY } },
302 /* End of Lenovo SL Specific keycodes */ 303 /* End of Lenovo SL Specific keycodes */
@@ -322,6 +323,8 @@ static const struct key_entry asus_keymap[] = {
322 {KE_KEY, 0x62, { KEY_SWITCHVIDEOMODE } }, 323 {KE_KEY, 0x62, { KEY_SWITCHVIDEOMODE } },
323 {KE_KEY, 0x63, { KEY_SWITCHVIDEOMODE } }, 324 {KE_KEY, 0x63, { KEY_SWITCHVIDEOMODE } },
324 {KE_KEY, 0x6B, { KEY_F13 } }, /* Lock Touchpad */ 325 {KE_KEY, 0x6B, { KEY_F13 } }, /* Lock Touchpad */
326 {KE_KEY, 0x6C, { KEY_SLEEP } }, /* Suspend */
327 {KE_KEY, 0x6D, { KEY_SLEEP } }, /* Hibernate */
325 {KE_KEY, 0x7E, { KEY_BLUETOOTH } }, 328 {KE_KEY, 0x7E, { KEY_BLUETOOTH } },
326 {KE_KEY, 0x7D, { KEY_BLUETOOTH } }, 329 {KE_KEY, 0x7D, { KEY_BLUETOOTH } },
327 {KE_KEY, 0x82, { KEY_CAMERA } }, 330 {KE_KEY, 0x82, { KEY_CAMERA } },