添加设备名关键词匹配
This commit is contained in:
@@ -84,6 +84,7 @@ int is_touchscreen(struct udev_device *dev) {
|
||||
|
||||
if (strstr(lower_name, "touchscreen") != NULL ||
|
||||
strstr(lower_name, "touch") != NULL ||
|
||||
strstr(lower_name, "ilitek") != NULL ||
|
||||
strstr(lower_name, "tablet") != NULL) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user