So sorry for not replying soon enough:
Basically here's what the file contains:
Code:
[COLOR="Red"]#
key 2 1
key 3 2
key 4 3
key 5 4
key 6 5
key 7 6
key 8 7
key 9 8
key 10 9
key 11 0[/COLOR]
key 158 BACK WAKE_DROPPED
key 230 HOME WAKE
[COLOR="Red"]key 60 SOFT_RIGHT WAKE
key 62 ENDCALL WAKE_DROPPED[/COLOR]
key 229 MENU WAKE_DROPPED
key 59 MENU WAKE_DROPPED
key 139 MENU WAKE_DROPPED
[COLOR="red"]key 228 POUND
key 227 STAR
key 231 CALL WAKE_DROPPED
key 61 CALL WAKE_DROPPED
key 232 DPAD_CENTER WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
key 103 DPAD_UP WAKE_DROPPED
#key 102 ENDCALL WAKE_DROPPED[/COLOR]
key 102 HOME WAKE
[COLOR="red"]key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED[/COLOR]
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
[COLOR="red"]key 213 DEL WAKE_DROPPED
key 355 DEL WAKE_DROPPED
key 212 CAMERA
key 247 FOCUS[/COLOR]
key 217 SEARCH WAKE_DROPPED
[COLOR="Red"]key 226 HEADSETHOOK WAKE[/COLOR]
key 116 POWER WAKE
[COLOR="red"]key 107 ENDCALL WAKE_DROPPED[/COLOR]
[COLOR="red"]key 16 Q
key 17 W
key 18 E
key 19 R
key 20 T
key 21 Y
key 22 U
key 23 I
key 24 O
key 25 P
key 30 A
key 31 S
key 32 D
key 33 F
key 34 G
key 35 H
key 36 J
key 37 K
key 38 L
key 14 DEL
key 44 Z
key 45 X
key 46 C
key 47 V
key 48 B
key 49 N
key 50 M
key 51 COMMA
key 52 PERIOD
key 28 ENTER
key 56 ALT_LEFT
key 42 SHIFT_LEFT
key 215 AT
key 57 SPACE
key 53 SLASH
key 127 SYM
key 100 ALT_RIGHT
key 399 GRAVE[/COLOR]
I have modified these values using my previous phone(samsung galaxy spica) and was successful in remapping the key functions, but what I'm concerned about is the repetition of the home and menu functions.(which were not present on my previous experiments). So I'll just share what I know about these characters.
First column is the actual key code(specifies the actual key pressed)
Second column is the function of the said key.
Third column is some kind of a sleep behavior flag.
-wake means the function will be executed without waking the screen if the said action is available(or something like that)
-wake dropped will wake the screen instead, phone needs to be in unlocked mode before the functions take effect.
Basically, all the lines in red, you can ignore. Now the lines in black you could shuffle the assigned function to whatever you want(AFAIK you can even assign functions from the red lines and even media controls).
I havent tested with optimus yet so until then, I'll leave you with this.