From 57de65795389b42c0d608ded8c5a20959e309cad Mon Sep 17 00:00:00 2001 From: Demon000 Date: Tue, 18 Aug 2020 12:56:30 +0300 Subject: [PATCH] sm6250-common: power: add DT2W support FTS and NVT touchscreens --- power/Power.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/power/Power.cpp b/power/Power.cpp index 8812cb3..3f3c2c0 100644 --- a/power/Power.cpp +++ b/power/Power.cpp @@ -40,7 +40,8 @@ Return 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() {