Description:Security check

Match-id-e53066c1703557b07cb7c9b48a9114e61ccb2e8f
This commit is contained in:
xxxx
2022-09-27 14:09:35 +08:00
parent 04d3a38a2c
commit df66979502
14 changed files with 455 additions and 304 deletions
+2 -2
View File
@@ -1102,11 +1102,11 @@ void InputHub::HandleTouchScreenEvent(struct input_event readBuffer[], const siz
for (size_t j = iter.first; j <= iter.second; j++) {
struct input_event &iev = readBuffer[j];
if (iev.code == ABS_X || iev.code == ABS_MT_POSITION_X) {
absInfo.absX = iev.value;
absInfo.absX = (uint32_t)iev.value;
absInfo.absXIndex = (int32_t)j;
}
if (iev.code == ABS_Y || iev.code == ABS_MT_POSITION_Y) {
absInfo.absY = iev.value;
absInfo.absY = (uint32_t)iev.value;
absInfo.absYIndex = (int32_t)j;
}
}