You need to update key mapping at File: \mydroid\kernel\<android-2.6.29>\arch\arm\mach-omap2\board-omap3evm.c update static int board_keymap[]
Regards, Deva PS. quick lxr check 259 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L259> static int board_keymap <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=board_keymap>[] = { 260 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L260> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(0, 0, KEY_LEFT <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_LEFT>), 261 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L261> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(0, 1, KEY_RIGHT <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_RIGHT>), 262 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L262> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(0, 2, KEY_A <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_A>), 263 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L263> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(0, 3, KEY_B <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_B>), 264 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L264> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(1, 0, KEY_DOWN <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_DOWN>), 265 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L265> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(1, 1, KEY_UP <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_UP>), 266 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L266> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(1, 2, KEY_E <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_E>), 267 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L267> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(1, 3, KEY_F <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_F>), 268 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L268> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(2, 0, KEY_ENTER <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_ENTER>), 269 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L269> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(2, 1, KEY_I <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_I>), 270 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L270> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(2, 2, KEY_J <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_J>), 271 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L271> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(2, 3, KEY_K <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_K>), 272 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L272> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(3, 0, KEY_M <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_M>), 273 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L273> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(3, 1, KEY_N <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_N>), 274 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L274> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(3, 2, KEY_O <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_O>), 275 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L275> KEY <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY>(3, 3, KEY_P <http://tomoyo.sourceforge.jp/cgi-bin/lxr/ident?i=KEY_P>) 276 <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/arch/arm/mach-omap2/board-omap3evm.c#L276> }; On Wed, Feb 17, 2010 at 6:11 PM, Ashish <[email protected]> wrote: > Hello, > > I am using Omap3evm. I want to change the keymap of keys provided on > the board. > > - What are the files i need to touch? > -How would i pass keycodes to my application? > -can i make a keymap used by specific applications? > > Ashish > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
