diff options
author | guoyin.chen <guoyin.chen@freescale.com> | 2013-08-22 16:23:45 +0800 |
---|---|---|
committer | guoyin.chen <guoyin.chen@freescale.com> | 2013-08-22 16:28:14 +0800 |
commit | 88b05b4c2caf20aadad24d6292a9522249e871ca (patch) | |
tree | fe88ed336b9cd0a85f807dbd69fc38a8adc56734 /arch | |
parent | da0e6b4ed02d0d256b57effbd70cd76fb00de568 (diff) |
ENGR00276287 Adjust key mapping for 6sl evk
Make onboard key pad can be met the normal android usage:
SW6: Volume +, SW7: Volume -, SW11: POWER, SW10: UP
SW13: DOWN, SW12: BACK, SW9:LEFT, SW8: RIGHT
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx6/board-mx6sl_evk.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-mx6/board-mx6sl_evk.c b/arch/arm/mach-mx6/board-mx6sl_evk.c index 7cc1d41c85b2..72ae00cbfc78 100644 --- a/arch/arm/mach-mx6/board-mx6sl_evk.c +++ b/arch/arm/mach-mx6/board-mx6sl_evk.c @@ -1358,18 +1358,18 @@ 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, 0, KEY_VOLUMEUP), + KEY(0, 1, KEY_VOLUMEDOWN), + KEY(0, 2, KEY_RIGHT), KEY(0, 3, KEY_F2), - KEY(1, 0, KEY_F3), - KEY(1, 1, KEY_F4), + KEY(1, 0, KEY_LEFT), + KEY(1, 1, KEY_UP), KEY(1, 2, KEY_POWER), KEY(1, 3, KEY_MENU), - KEY(2, 0, KEY_PREVIOUS), - KEY(2, 1, KEY_NEXT), + KEY(2, 0, KEY_BACK), + KEY(2, 1, KEY_DOWN), KEY(2, 2, KEY_HOME), KEY(2, 3, KEY_NEXT), |