Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,176 Members 51,351 Now Online
XDA Developers Android and Mobile Development Forum

[Q] menu key and back key are swapped after touchpad replaced

Tip us?
 
zeitlaeufer
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Jul 2010
Default [Q] menu key and back key are swapped after touchpad replaced

first sorry for my bad english

hi have problems with a huawei Y200.
I have the touchpad replaced because it was broken.
Now, the menu key and back key are swapped.
i tried the patches from
http://forum.xda-developers.com/show...php?p=27533356
but it did not work.
I think it is a fault in the new touchpad.
can someone help me?
te files in system\usr\keylayout are
what I have to change to swap the keys

7k_handset.kl
key 226 HEADSETHOOK WAKE
key 116 POWER WAKE
key 107 ENDCALL WAKE_DROPPED

7x27a_kp.kl
# Function keys
key 59 MENU WAKE
key 60 HOME WAKE
key 61 CALL WAKE_DROPPED
key 62 BACK WAKE_DROPPED
key 63 ENDCALL WAKE_DROPPED
key 64 MEDIA_NEXT WAKE
key 65 MEDIA_PLAY_PAUSE WAKE
key 66 MEDIA_PREVIOUS WAKE
key 67 MEDIA_STOP WAKE
key 68 CAMERA
key 87 POWER WAKE
key 217 SEARCH WAKE_DROPPED

# Row 2
key 2 1 WAKE_DROPPED
key 3 2 WAKE_DROPPED
key 4 3 WAKE_DROPPED
key 5 4 WAKE_DROPPED
key 6 5 WAKE_DROPPED
key 7 6 WAKE_DROPPED
key 8 7 WAKE_DROPPED
key 9 8 WAKE_DROPPED
key 10 9 WAKE_DROPPED
key 11 0 WAKE_DROPPED
key 110 MENU WAKE
key 102 HOME WAKE

# Row 3
key 16 Q WAKE_DROPPED
key 17 W WAKE_DROPPED
key 18 E WAKE_DROPPED
key 19 R WAKE_DROPPED
key 20 T WAKE_DROPPED
key 21 Y WAKE_DROPPED
key 22 U WAKE_DROPPED
key 23 I WAKE_DROPPED
key 24 O WAKE_DROPPED
key 25 P WAKE_DROPPED
key 158 BACK WAKE_DROPPED
key 104 DPAD_UP WAKE_DROPPED

# Row 4
key 58 SHIFT_LEFT WAKE
key 30 A WAKE_DROPPED
key 31 S WAKE_DROPPED
key 32 D WAKE_DROPPED
key 33 F WAKE_DROPPED
key 34 G WAKE_DROPPED
key 35 H WAKE_DROPPED
key 36 J WAKE_DROPPED
key 37 K WAKE_DROPPED
key 38 L WAKE_DROPPED
key 28 DPAD_CENTER WAKE_DROPPED
key 109 DPAD_DOWN WAKE_DROPPED

# Row 5
key 183 SYM WAKE_DROPPED
key 44 Z WAKE_DROPPED
key 45 X WAKE_DROPPED
key 46 C WAKE_DROPPED
key 47 V WAKE_DROPPED
key 48 B WAKE_DROPPED
key 49 N WAKE_DROPPED
key 50 M WAKE_DROPPED
key 51 COMMA WAKE_DROPPED
key 52 PERIOD WAKE_DROPPED
key 103 DPAD_UP WAKE_DROPPED
key 107 ENDCALL WAKE_DROPPED

# Row 6
key 42 SHIFT_LEFT WAKE_DROPPED
key 464 MENU WAKE_DROPPED
key 29 MENU WAKE_DROPPED
key 56 MENU WAKE_DROPPED
key 151 MENU WAKE_DROPPED
key 57 SPACE WAKE_DROPPED
key 111 DEL WAKE_DROPPED
key 54 SHIFT_RIGHT WAKE_DROPPED
key 105 DPAD_LEFT WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED

# Volume keys
key 115 VOLUME_UP WAKE_DROPPED
key 114 VOLUME_DOWN WAKE_DROPPED

# Numeric keypad
key 522 STAR WAKE_DROPPED
key 523 POUND WAKE_DROPPED
key 355 DEL WAKE_DROPPED
#L- Mapping
key 139 MENU WAKE
#SEND Key Mapping
key 231 CALL WAKE_DROPPED
# R+ Mapping
key 142 HOME WAKE_DROPPED

AVRCP.kl
key 200 MEDIA_PLAY_PAUSE WAKE
key 201 MEDIA_PLAY_PAUSE WAKE
key 166 MEDIA_STOP WAKE
key 163 MEDIA_NEXT WAKE
key 165 MEDIA_PREVIOUS WAKE
key 168 MEDIA_REWIND WAKE
key 208 MEDIA_FAST_FORWARD WAKE

qwerty.kl
key 399 GRAVE
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
key 158 BACK WAKE_DROPPED
key 230 SOFT_RIGHT WAKE
key 60 SOFT_RIGHT WAKE
key 107 ENDCALL WAKE_DROPPED
key 62 ENDCALL WAKE_DROPPED
key 229 MENU WAKE_DROPPED
key 139 MENU WAKE_DROPPED
key 59 MENU WAKE_DROPPED
key 127 SEARCH WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED
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 HOME WAKE
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 116 POWER WAKE
key 212 CAMERA

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 26 LEFT_BRACKET
key 27 RIGHT_BRACKET
key 43 BACKSLASH

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 39 SEMICOLON
key 40 APOSTROPHE
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 53 SLASH
key 28 ENTER

key 56 ALT_LEFT
key 100 ALT_RIGHT
key 42 SHIFT_LEFT
key 54 SHIFT_RIGHT
key 15 TAB
key 57 SPACE
key 150 EXPLORER
key 155 ENVELOPE

key 12 MINUS
key 13 EQUALS
key 215 AT

# On an AT keyboard: ESC, F10
key 1 BACK WAKE_DROPPED
key 68 MENU WAKE_DROPPED

qwerty_m660.kl
key 399 GRAVE
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
# DTS2012012902981 liuyali 20120208 begin
#key 11 0
# DTS2012021801815 wangenhua 20120218 begin
key 11 SMILE WAKE
# DTS2012021801815 wangenhua 20120218 end
# DTS2012012902981 liuyali 20120208 end
key 158 BACK WAKE_DROPPED
key 230 SOFT_RIGHT WAKE
key 60 SOFT_RIGHT WAKE
key 107 ENDCALL WAKE_DROPPED
key 62 ENDCALL WAKE_DROPPED
key 229 MENU WAKE_DROPPED
key 139 MENU WAKE_DROPPED
key 59 MENU WAKE_DROPPED
key 127 SEARCH WAKE_DROPPED
key 217 SEARCH WAKE_DROPPED
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 HOME WAKE
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 116 POWER WAKE
key 212 CAMERA

key 16 Q
# DTS2012021801815 wangenhua 20120218 begin
key 17 W WAKE
key 18 E WAKE
key 19 R WAKE
# DTS2012021801815 wangenhua 20120218 end
key 20 T
key 21 Y
key 22 U
key 23 I
key 24 O
key 25 P
key 26 LEFT_BRACKET
key 27 RIGHT_BRACKET
key 43 BACKSLASH

key 30 A
# DTS2012021801815 wangenhua 20120218 begin
key 31 S WAKE
key 32 D WAKE
key 33 F WAKE
# DTS2012021801815 wangenhua 20120218 end
key 34 G
key 35 H
key 36 J
key 37 K
key 38 L
key 39 SEMICOLON
key 40 APOSTROPHE
key 14 DEL

# DTS2012021801815 wangenhua 20120218 begin
key 44 Z WAKE
key 45 X WAKE
key 46 C WAKE
# DTS2012021801815 wangenhua 20120218 end
key 47 V
key 48 B
key 49 N
key 50 M
key 51 COMMA
key 52 PERIOD
key 53 SLASH
key 28 ENTER

key 56 ALT_LEFT
key 100 ALT_RIGHT
key 42 SHIFT_LEFT
key 54 SHIFT_RIGHT
key 15 TAB
key 57 SPACE
key 150 EXPLORER
key 155 ENVELOPE

key 12 MINUS
key 13 EQUALS
key 215 AT

# On an AT keyboard: ESC, F10
key 1 BACK WAKE_DROPPED
key 68 MENU WAKE_DROPPED
#DTS2011093003360 wangxiong 20111226 begin
key 194 SYM
key 200 MESSAGE
#DTS2011093003360 wangxiong 20111226 end

surf_keypad.kl
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
key 158 BACK WAKE_DROPPED
key 230 HOME WAKE
key 60 SOFT_RIGHT WAKE
key 62 ENDCALL WAKE_DROPPED
key 229 MENU WAKE_DROPPED
key 59 MENU WAKE_DROPPED
key 139 MENU WAKE_DROPPED
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
# /*<DTS2010112900606 zhaoyingchun 20101129 begin*/
key 102 HOME WAKE
# /*DTS2010112900606 zhaoyingchun 20101129 end>*/
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
# /*<DTS2011010604745 yinzhaoyang modify 20110110 begin*/
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
# /* DTS2011010604745 yinzhaoyang modify 20110110 end >*/
key 212 SLASH
key 213 DEL WAKE_DROPPED
key 355 DEL WAKE_DROPPED

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
 
zeitlaeufer
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Jul 2010
I solved the problem myself
in the file qwerty.kl
key 158 BACK WAKE_DROPPED
in
key 158 MENU WAKE_DROPPED
and
139 MENU WAKE_DROPPED
in
139 BACK WAKE_DROPPED
changed. now everything is as it should be
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes