mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-05-29 01:17:18 +09:00
sm6250-common: power: add DT2W support FTS and NVT touchscreens
This commit is contained in:
parent
a587e4ebb8
commit
57de657953
@ -40,7 +40,8 @@ Return<void> Power::powerHint(PowerHint_1_0, int32_t) {
|
||||
}
|
||||
|
||||
bool isSupportedInputName(char* name) {
|
||||
return false;
|
||||
return strcmp(name, "fts_ts") == 0
|
||||
|| strcmp(name, "NVTCapacitiveTouchScreen") == 0;
|
||||
}
|
||||
|
||||
int openInputFd() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user