本帖最后由 loading 于 2017-4-25 19:17 编辑
在双屏异显情况,主屏USB接口触摸屏有时触摸无响应,可以参考如下进行修改尝试
— a/services/inputflinger/EventHub.cpp
+++ b/services/inputflinger/EventHub.cpp
@@ -1285,7 +1285,7 @@ status_t EventHub::openDeviceLocked(const char*devicePath) {
// Determine whether thedevice is external or internal.
if (isExternalDeviceLocked(device)){
-
device->classes |=INPUT_DEVICE_CLASS_EXTERNAL;
-
//device->classes|= INPUT_DEVICE_CLASS_EXTERNAL;}
if (device->classes &(INPUT_DEVICE_CLASS_JOYSTICK | INPUT_DEVICE_CLASS_DPAD)