在System源码的out\target\product\t34\system\usr\keylayout目录下有一个s3c-keypad.kl文件,内容如下:
key 42 VOLUME_UP
key 58 VOLUME_DOWN
key 50 MENU WAKE_DROPPED
key 26 ENDCALL WAKE_DROPPED
key 34 BACK WAKE_DROPPED
key 57 DPAD_LEFT WAKE_DROPPED
key 49 DPAD_RIGHT WAKE_DROPPED
key 25 DPAD_UP WAKE_DROPPED
key 41 DPAD_DOWN WAKE_DROPPED
key 33 DPAD_CENTER WAKE_DROPPED
key 10 POWER WAKE
key 11 HOME WAKE_DROPPED
key 12 SEARCH WAKE_DROPPED
可以把以的POWER改为MENU,再把MENU改为POWER,这样就把这两个键对换了.一定不能有重复的键,如有两个MENU,这样会导致所有的按键失灵,
改好后把这个文件更新到设备的system\usr\keylayout\s3c-keypad.kl中,重启设备生效,或者重新生成OS,再烧录到设备中即可.