Skip to content

Commit

Permalink
classmate-laptop: Added some keys present in other devices
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thadeu Lima de Souza Cascardo authored and Matthew Garrett committed Mar 1, 2010
1 parent 661cb9f commit 881a6c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/platform/x86/classmate-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,10 @@ static int cmpc_keys_codes[] = {
KEY_BRIGHTNESSDOWN,
KEY_BRIGHTNESSUP,
KEY_VENDOR,
KEY_UNKNOWN,
KEY_CAMERA,
KEY_BACK,
KEY_FORWARD,
KEY_MAX
};

Expand Down

0 comments on commit 881a6c2

Please sign in to comment.