| 685 | } |
| 686 | |
| 687 | bool ControllerAgent::handle_touch_move(const TouchParam& param) |
| 688 | { |
| 689 | if (!control_unit_) { |
| 690 | LogError << "control_unit_ is nullptr"; |
| 691 | return false; |
| 692 | } |
| 693 | |
| 694 | cv::Point point = preproc_touch_point(param.point); |
| 695 | bool ret = control_unit_->touch_move(param.contact, point.x, point.y, param.pressure); |
| 696 | |
| 697 | return ret; |
| 698 | } |
| 699 | |
| 700 | bool ControllerAgent::handle_touch_up(const TouchParam& param) |
| 701 | { |
nothing calls this directly
no test coverage detected