tri-state-key: Fix vibrate position for op8p

Change-Id: Id3dd97e0284d61ee093e6fd3cf0baaa20479dc14
This commit is contained in:
Peter Cai
2019-06-21 19:05:24 +08:00
committed by LuK1337
parent 636b838f18
commit ac3ec4df45

View File

@@ -80,7 +80,7 @@ int main() {
}
bool none = uevent.state.find("USB=0") != std::string::npos;
bool vibration = uevent.state.find("USB_HOST=0") != std::string::npos;
bool vibration = uevent.state.find("HOST=0") != std::string::npos;
bool silent = uevent.state.find("null)=0") != std::string::npos;
int keyCode;