From ee8a609cafd87f3045e19563f20081d621e64520 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Thu, 27 Aug 2009 17:24:57 +0800 Subject: [PATCH] fix [SHIFT,CAPSLOCK] key define Signed-off-by: Xiangfu Liu --- .../files-2.6.31/arch/mips/jz4740/platform.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c b/target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c index f3881d6c5..9718f81ec 100644 --- a/target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c +++ b/target/linux/xburst/files-2.6.31/arch/mips/jz4740/platform.c @@ -214,12 +214,10 @@ static struct platform_device jz_nand_device = { }; #define KEEP_UART_ALIVE -#define KEY_QI_QI KEY_F9 -#define KEY_QI_UPBIG KEY_F10 -#define KEY_QI_DOWNBIG KEY_F11 -#define KEY_QI_UPRED KEY_F12 -#define KEY_QI_VOLUP KEY_F13 -#define KEY_QI_VOLDOWN KEY_F14 +#define KEY_QI_QI KEY_F13 +#define KEY_QI_UPRED KEY_F14 +#define KEY_QI_VOLUP KEY_F15 +#define KEY_QI_VOLDOWN KEY_F16 static const uint32_t qi_lb60_keymap[] = { KEY(0, 0, KEY_F1), /* S2 */ @@ -255,7 +253,7 @@ static const uint32_t qi_lb60_keymap[] = { KEY(3, 6, KEY_N), /* S32 */ KEY(3, 7, KEY_M), /* S33 */ KEY(4, 0, KEY_TAB), /* S34 */ - KEY(4, 1, KEY_QI_DOWNBIG), /* S35 */ + KEY(4, 1, KEY_CAPSLOCK), /* S35 */ KEY(4, 2, KEY_BACKSLASH), /* S36 */ KEY(4, 3, KEY_APOSTROPHE), /* S37 */ KEY(4, 4, KEY_COMMA), /* S38 */ @@ -280,7 +278,7 @@ static const uint32_t qi_lb60_keymap[] = { KEY(6, 7, KEY_RIGHT), /* S57 */ #ifndef KEEP_UART_ALIVE - KEY(7, 0, KEY_QI_UPBIG), /* S58 */ + KEY(7, 0, KEY_LEFTSHIFT), /* S58 */ KEY(7, 1, KEY_LEFTALT), /* S59 */ KEY(7, 2, KEY_FN), /* S60 */ #endif