| 120 | } |
| 121 | |
| 122 | MaaCtrlId ControllerAgent::post_touch_move(int contact, int x, int y, int pressure) |
| 123 | { |
| 124 | TouchParam p { .contact = contact, .point = { x, y }, .pressure = pressure }; |
| 125 | auto id = post({ .type = Action::Type::touch_move, .param = std::move(p) }); |
| 126 | return focus_id(id); |
| 127 | } |
| 128 | |
| 129 | MaaCtrlId ControllerAgent::post_touch_up(int contact) |
| 130 | { |