| 672 | } |
| 673 | |
| 674 | bool ControllerAgent::handle_touch_down(const TouchParam& param) |
| 675 | { |
| 676 | if (!control_unit_) { |
| 677 | LogError << "control_unit_ is nullptr"; |
| 678 | return false; |
| 679 | } |
| 680 | |
| 681 | cv::Point point = preproc_touch_point(param.point); |
| 682 | bool ret = control_unit_->touch_down(param.contact, point.x, point.y, param.pressure); |
| 683 | |
| 684 | return ret; |
| 685 | } |
| 686 | |
| 687 | bool ControllerAgent::handle_touch_move(const TouchParam& param) |
| 688 | { |
nothing calls this directly
no test coverage detected