添加设备名关键词匹配

This commit is contained in:
tang1219
2026-06-16 13:57:42 +08:00
parent 8531b75edd
commit 98390053fd
5 changed files with 59 additions and 231 deletions
+1
View File
@@ -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;
}