diff --git a/poco/utils/airtest/input.py b/poco/utils/airtest/input.py index 6a0919af..9f40f20a 100644 --- a/poco/utils/airtest/input.py +++ b/poco/utils/airtest/input.py @@ -108,11 +108,13 @@ def applyMotionEvents(self, events): contact = e[2] x, y = e[1] pos = self.get_target_pos(x, y) + pos = current_device()._touch_point_by_orientation(pos) me = DownEvent(pos, contact) elif t == 'm': contact = e[2] x, y = e[1] pos = self.get_target_pos(x, y) + pos = current_device()._touch_point_by_orientation(pos) me = MoveEvent(pos, contact) elif t == 'u': contact = e[1]