2011年6月22日

Android平台开发-Android keypad map-Android按键事件

摘要: 一、Android底层按键事件处理过程 在系统启动后,在文件。。。中,android 会通过 static const char *device_path = "/dev/input"; bool EventHub::penPlatformInput(void) res = scan_dir(device_path); 通过下面的函数打开设备。 int EventHub::pen_device(const char *deviceName) { ... fd = open(deviceName, O_RDWR); ... mFDs[mFDCount].fd = fd; mF 阅读全文

posted @ 2011-06-22 21:47 鲸鱼 阅读(4622) 评论(0) 推荐(0) 编辑

android 按键映射

摘要: http://blog.csdn.net/hongjiujing/archive/2009/12/16/5016730.aspx 阅读全文

posted @ 2011-06-22 21:45 鲸鱼 阅读(538) 评论(0) 推荐(0) 编辑

导航