mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sapphire
synced 2026-01-27 10:01:09 +00:00
sm6225-common : power: Add NVTCapacitiveTouchScreen support
Change-Id: Ifd151f0642b495f80cc512d4fe19d1cfab97bcf8
This commit is contained in:
@@ -28,7 +28,7 @@ int open_ts_input() {
|
||||
|
||||
fd = open(absolute_path, O_RDWR);
|
||||
if (ioctl(fd, EVIOCGNAME(sizeof(name) - 1), &name) > 0) {
|
||||
if (strcmp(name, "fts_ts") == 0)
|
||||
if (strcmp(name, "fts_ts") == 0 || strcmp(name, "NVTCapacitiveTouchScreen") == 0)
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user