Signed-off-by: hwzhangchuang <zhangchuang.zhang@huawei.com>
This commit is contained in:
hwzhangchuang
2023-12-08 16:30:05 +08:00
parent 9ff347a69c
commit 85cc6313a3
+1 -1
View File
@@ -204,7 +204,7 @@ size_t InputHub::GetEvents(RawEvent *buffer, size_t bufferSize)
bool InputHub::IsTouchPad(Device *device)
{
return ((device->classes & INPUT_DEVICE_CLASS_TOUCH_MT) || (device->classes & INPUT_DEVICE_CLASS_TOUCH)) &&
IsTouchPad(device->identifier));
IsTouchPad(device->identifier);
}
bool InputHub::IsTouchPad(const InputDevice &inputDevice)