From: Thadeu Lima de Souza Cascardo Date: Mon, 1 Mar 2010 21:15:58 +0000 (-0500) Subject: classmate-laptop: Added some keys present in other devices X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=881a6c25a8453388e3190de94a5e105439a9f806;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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[] = { KEY_BRIGHTNESSDOWN, KEY_BRIGHTNESSUP, KEY_VENDOR, + KEY_UNKNOWN, + KEY_CAMERA, + KEY_BACK, + KEY_FORWARD, KEY_MAX };