OMAP: ZOOM2: Correcting key mapping for few keys
Subsystems (3)
PATCH 1/1 OMAP: ZOOM2: Correcting key mapping for few keys
Quoted 1 line
From
ab3239189c25a19d7764042cc3f05cce8a91f291Mon Sep 17 00:00:00 2001
From: Vimal Singh <[email protected]>
Date: Fri, 18 Dec 2009 12:09:10 +0530
Subject: [PATCH] OMAP: ZOOM2: Correcting key mapping for few keys
Keys: 'right arrow', 'up arrow' and 'select' were mapped wrongly. This patch corrects them.
This patch also adds one missing key present in the board, currently I added it as 'unknown' key, as I am not able to find proper description for this key.
One key entry (r: 7, c: 5) is present in the keymap, which is really not present in the board, removing it.
--- arch/arm/mach-omap2/board-zoom-peripherals.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
(quoted diff) +0 -0
b/arch/arm/mach-omap2/board-zoom-peripherals.c
index 8dd277c..1e3dfb6 100755
arch/arm/mach-omap2/board-zoom-peripherals.c +4 -4
@@ -63,21 +63,21 @@ static int board_keymap[] = {KEY (5 ,1 ,KEY_H ),KEY (5 ,2 ,KEY_J ),KEY (5 ,3 ,KEY_F3 ), +KEY (5 ,4 ,KEY_UNKNOWN ),KEY (5 ,5 ,KEY_VOLUMEDOWN ),KEY (5 ,6 ,KEY_M ), -KEY (5 ,7 ,KEY_ENTER ), +KEY (5 ,7 ,KEY_RIGHT ),KEY (6 ,0 ,KEY_Q ),KEY (6 ,1 ,KEY_A ),KEY (6 ,2 ,KEY_N ),KEY (6 ,3 ,KEY_BACKSPACE ),KEY (6 ,6 ,KEY_P ), -KEY (6 ,7 ,KEY_SELECT ), +KEY (6 ,7 ,KEY_UP ),KEY (7 ,0 ,KEY_PROG1 ),/*MACRO 1 <User defined> */ KEY (7 ,1 ,KEY_PROG2 ),/*MACRO 2 <User defined> */ KEY (7 ,2 ,KEY_PROG3 ),/*MACRO 3 <User defined> */ KEY (7 ,3 ,KEY_PROG4 ),/*MACRO 4 <User defined> */ -KEY (7 ,5 ,KEY_RIGHT ), -KEY (7 ,6 ,KEY_UP ), +KEY (7 ,6 ,KEY_SELECT ),KEY (7 ,7 ,KEY_DOWN ) };
Signature · 1 line
1.5.5
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Vimal Singh
Sent: Friday, December 18, 2009 1:03 PM
To: [email protected]
Subject: [PATCH] OMAP: ZOOM2: Correcting key mapping for few keys
Applicable for Zoom3 also.
Quoted 58 lines
From
ab3239189c25a19d7764042cc3f05cce8a91f291Mon Sep 17 00:00:00 2001
From: Vimal Singh <[email protected]>
Date: Fri, 18 Dec 2009 12:09:10 +0530
Subject: [PATCH] OMAP: ZOOM2: Correcting key mapping for few keysKeys: 'right arrow', 'up arrow' and 'select' were mapped wrongly. This patch corrects them.
This patch also adds one missing key present in the board, currently I added it as 'unknown' key, as I am not able to find proper description for this key.
One key entry (r: 7, c: 5) is present in the keymap, which is really not present in the board, removing it.Signed-off-by Vimal Singh <[email protected]>--- arch/arm/mach-omap2/board-zoom-peripherals.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)arch/arm/mach-omap2/board-zoom-peripherals.c +4
-4@@ -63,21 +63,21 @@ static int board_keymap[] = {KEY (5 ,1 ,KEY_H ),KEY (5 ,2 ,KEY_J ),KEY (5 ,3 ,KEY_F3 ), +KEY (5 ,4 ,KEY_UNKNOWN ),KEY (5 ,5 ,KEY_VOLUMEDOWN ),KEY (5 ,6 ,KEY_M ), -KEY (5 ,7 ,KEY_ENTER ), +KEY (5 ,7 ,KEY_RIGHT ),KEY (6 ,0 ,KEY_Q ),KEY (6 ,1 ,KEY_A ),KEY (6 ,2 ,KEY_N ),KEY (6 ,3 ,KEY_BACKSPACE ),KEY (6 ,6 ,KEY_P ), -KEY (6 ,7 ,KEY_SELECT ), +KEY (6 ,7 ,KEY_UP ),KEY (7 ,0 ,KEY_PROG1 ),/*MACRO 1 <User defined> */ KEY (7 ,1 ,KEY_PROG2 ),/*MACRO 2 <User defined> */ KEY (7 ,2 ,KEY_PROG3 ),/*MACRO 3 <User defined> */ KEY (7 ,3 ,KEY_PROG4 ),/*MACRO 4 <User defined> */ -KEY (7 ,5 ,KEY_RIGHT ), -KEY (7 ,6 ,KEY_UP ), +KEY (7 ,6 ,KEY_SELECT ),KEY (7 ,7 ,KEY_DOWN ) };Signature · 6 lines
1.5.5 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Tony Lindgren
maintainerPATCH 1/1 OMAP: ZOOM2: Correcting key mapping for few keys
In reply to Vimal SinghThis patch has been applied to the linux-omap
by youw fwiendly patch wobot.
Branch in linux-omap: omap-fixes
Initial commit ID (Likely to change): 736687cd70885a0c669da188902af713005a57ee
PatchWorks
http://patchwork.kernel.org/patch/68622/
Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=736687cd70885a0c669da188902af713005a57ee