Android 按键事件流程概要


A:设备中断-------驱动------>内核按键码(SCANCODE)-------*.kl--------> android keycode(char*)--------- KeycodeLabels.h ------>android keyevent(int, KeyEvent.java)

B:android keycode(char*)--------------- *.kcm/*.kcm.bin ------------>显示字符(char)


PS:

/home/simba/android_2.3/frameworks/base/include/ui/KeycodeLabels.h

/home/simba/android_2.3/frameworks/base/core/java/android/view/KeyEvent.java


你可能感兴趣的:(Android)