sm6250-common: power: add DT2W support FTS and NVT touchscreens

This commit is contained in:
Demon000 2020-08-18 12:56:30 +03:00
parent a587e4ebb8
commit 57de657953

View File

@ -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() {