8触摸屏8.1分类输入事件文件:frameworks/base/libs/ui/EventHub.cppintEventHub::open_device(constchar*deviceName){...uint8_tkey_bitmask[(KEY_MAX+1)/8];memset(key_bitmask,0,sizeof(key_bitmask));LOGV("Gettingkeys...");if(ioctl(fd,EVIOCGBIT(EV_KEY,sizeof(key_bitmask)...
查看全文