diff options
author | LiGang <b41990@freescale.com> | 2012-10-29 21:08:11 +0800 |
---|---|---|
committer | LiGang <b41990@freescale.com> | 2012-10-29 21:08:11 +0800 |
commit | 6ece2da0d75746fad5ddf93efd6d323ab3c4414c (patch) | |
tree | f52b5c356a25df5cfb9b69650a4a86ec8880c870 /arch/arm/mach-mx6 | |
parent | a846a262efd0f4c6ccca4e11b2f0042aa01d9825 (diff) |
ENGR00230967 Optimize the keymap for evk and dc2 board
The new keymap:
FEATURE EVK DC2
KEY_RESET SW2
KEY_POWER SW1
KEY_SELECT SW6 SELECT
KEY_BACK SW7 BACKKEY
KEY_F1 SW8 F1
KEY_F2 F2
KEY_F3 SW9 F3
KEY_VOLUMEDOWN SW10 F4
KEY_VOLUMEUP SW11 F5
KEY_MENU MENU
KEY_PREVIOUS SW12 PREV
KEY_NEXT SW13 NEX1
KEY_HOME HOME
KEY_NEXT NEX2
KEY_UP UP
KEY_LEFT LEFT
KEY_RIGHT RIGHT
KEY_DOWN DOWN
Signed-off-by: LiGang <b41990@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6')
-rw-r--r-- | arch/arm/mach-mx6/board-mx6sl_evk.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/arch/arm/mach-mx6/board-mx6sl_evk.c b/arch/arm/mach-mx6/board-mx6sl_evk.c index 0f8f80894510..03705bb105ae 100644 --- a/arch/arm/mach-mx6/board-mx6sl_evk.c +++ b/arch/arm/mach-mx6/board-mx6sl_evk.c @@ -1281,25 +1281,25 @@ static struct mxc_fb_platform_data hdmi_fb_data[] = { }; static int mx6sl_evk_keymap[] = { - KEY(0, 0, KEY_SELECT), - KEY(0, 1, KEY_BACK), - KEY(0, 2, KEY_F1), - KEY(0, 3, KEY_F2), - - KEY(1, 0, KEY_F3), - KEY(1, 1, KEY_F4), - KEY(1, 2, KEY_POWER), - KEY(1, 3, KEY_MENU), - - KEY(2, 0, KEY_PREVIOUS), - KEY(2, 1, KEY_VOLUMEDOWN), - KEY(2, 2, KEY_HOME), - KEY(2, 3, KEY_VOLUMEUP), - - KEY(3, 0, KEY_UP), - KEY(3, 1, KEY_LEFT), - KEY(3, 2, KEY_RIGHT), - KEY(3, 3, KEY_DOWN), + KEY(0, 0, KEY_SELECT), /* EVK:SW6 DC2:SELECT */ + KEY(0, 1, KEY_BACK), /* EVK:SW7 DC2:BACK */ + KEY(0, 2, KEY_F1), /* EVK:SW8 DC2:F1 */ + KEY(0, 3, KEY_F2), /* EVK DC2:F2 */ + + KEY(1, 0, KEY_F3), /* EVK:SW9 DC2:F3 */ + KEY(1, 1, KEY_VOLUMEDOWN), /* EVK:SW10 DC2:F4 */ + KEY(1, 2, KEY_VOLUMEUP), /* EVK:SW11 DC2:F5 */ + KEY(1, 3, KEY_MENU), /* EVK DC2:MENU */ + + KEY(2, 0, KEY_PREVIOUS), /* EVK:SW12 DC2:PREV */ + KEY(2, 1, KEY_NEXT), /* EVK:SW13 DC2:NEX1 */ + KEY(2, 2, KEY_HOME), /* EVK DC2:HOME */ + KEY(2, 3, KEY_NEXT), /* EVK DC2:NEX2 */ + + KEY(3, 0, KEY_UP), /* EVK DC2:UP */ + KEY(3, 1, KEY_LEFT), /* EVK DC2:LEFT */ + KEY(3, 2, KEY_RIGHT), /* EVK DC2:RIGHT */ + KEY(3, 3, KEY_DOWN), /* EVK DC2:DOWN */ }; static const struct matrix_keymap_data mx6sl_evk_map_data __initconst = { |