apps: Fix input simulates touch reporting error

Signed-off-by: liuhongchao <liuhongchao@xiaomi.com>
This commit is contained in:
liuhongchao 2024-03-18 14:15:16 +08:00 committed by Xiang Xiao
parent 3291c43db3
commit ad95f7306f

View File

@ -224,7 +224,7 @@ static int input_utouch_swipe(int argc, char **argv)
DELAY_MS(interval);
}
input_utouch_move(fd, 0, 0, TOUCH_UP);
input_utouch_move(fd, x1, y1, TOUCH_UP);
close(fd);
return 0;
}