tri-state-key: Fix vibrate position for op8p
Change-Id: Id3dd97e0284d61ee093e6fd3cf0baaa20479dc14
This commit is contained in:
@@ -80,7 +80,7 @@ int main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool none = uevent.state.find("USB=0") != std::string::npos;
|
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;
|
bool silent = uevent.state.find("null)=0") != std::string::npos;
|
||||||
|
|
||||||
int keyCode;
|
int keyCode;
|
||||||
|
|||||||
Reference in New Issue
Block a user