diff options
author | Wen Yi <wyi@nvidia.com> | 2011-03-04 17:07:47 -0800 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-03-16 09:46:48 -0800 |
commit | c1772213d2da2d5edaf71dc2a32e62182fc1a674 (patch) | |
tree | a8241c4128250fc9257b92117b5c6296ed92d943 /arch/arm/mach-tegra/board-whistler-kbc.c | |
parent | 8915048e4bd75b725de9486764e3b63c0e45eb80 (diff) |
[arch/arm] whistler: Add KEY_MENU support
BUG 780067
Map row 2, column 1 to KEY_MENU
Change-Id: I120ea7714111e129c3ec330c70592cc292dbba7a
Reviewed-on: http://git-master/r/21737
Reviewed-by: Wen Yi <wyi@nvidia.com>
Tested-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-whistler-kbc.c')
-rw-r--r-- | arch/arm/mach-tegra/board-whistler-kbc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-whistler-kbc.c b/arch/arm/mach-tegra/board-whistler-kbc.c index ca62d8570115..ed763b69d451 100644 --- a/arch/arm/mach-tegra/board-whistler-kbc.c +++ b/arch/arm/mach-tegra/board-whistler-kbc.c @@ -40,7 +40,7 @@ * should NOT be configured as KBC */ #ifdef CONFIG_INPUT_ALPS_GPIO_SCROLLWHEEL -#define WHISTLER_ROW_COUNT 2 +#define WHISTLER_ROW_COUNT 3 #define WHISTLER_COL_COUNT 2 #else #define WHISTLER_ROW_COUNT 4 @@ -49,8 +49,9 @@ #ifdef CONFIG_INPUT_ALPS_GPIO_SCROLLWHEEL static int plain_kbd_keycode[] = { - KEY_POWER, KEY_RESERVED, - KEY_HOME, KEY_BACK, + KEY_POWER, KEY_RESERVED, + KEY_HOME, KEY_BACK, + KEY_RESERVED, KEY_MENU, }; #else static int plain_kbd_keycode[] = { |