diff options
author | Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> | 2010-03-01 16:15:58 -0500 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-03-01 16:15:58 -0500 |
commit | 881a6c25a8453388e3190de94a5e105439a9f806 (patch) | |
tree | d5f9eba8420b45493678bbb31c5fd9f0c9ffc9b4 /drivers/platform | |
parent | 661cb9fbf2ce580000a792bf1d394fc341c9ba69 (diff) |
classmate-laptop: Added some keys present in other devices
Some new devices have extra keys, which we add to our list. Currently,
they all generate events that allow us to use a simple table/array,
without need for the sparse keymap.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/classmate-laptop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c index 8cb20e45bad6..035a7dd65a3f 100644 --- a/drivers/platform/x86/classmate-laptop.c +++ b/drivers/platform/x86/classmate-laptop.c | |||
@@ -507,6 +507,10 @@ static int cmpc_keys_codes[] = { | |||
507 | KEY_BRIGHTNESSDOWN, | 507 | KEY_BRIGHTNESSDOWN, |
508 | KEY_BRIGHTNESSUP, | 508 | KEY_BRIGHTNESSUP, |
509 | KEY_VENDOR, | 509 | KEY_VENDOR, |
510 | KEY_UNKNOWN, | ||
511 | KEY_CAMERA, | ||
512 | KEY_BACK, | ||
513 | KEY_FORWARD, | ||
510 | KEY_MAX | 514 | KEY_MAX |
511 | }; | 515 | }; |
512 | 516 | ||