Android input子系统之InputReader获取输入事件详细分析--EventHub->getevents
此文章只分析EventHub获取输入事件的getevents函数的具体实现首先在EventHub的构造函数中,将以下变量进行初始化,以下初始化变量在getevents中会用到mBuiltInKeyboardId(NO_BUILT_IN_KEYBOARD),mNextDeviceId(1),mControllerNumbers(),mOpeningDevices(0),mClosingDevices