| 698 | } |
| 699 | |
| 700 | bool ControllerAgent::handle_touch_up(const TouchParam& param) |
| 701 | { |
| 702 | if (!control_unit_) { |
| 703 | LogError << "control_unit_ is nullptr"; |
| 704 | return false; |
| 705 | } |
| 706 | |
| 707 | bool ret = control_unit_->touch_up(param.contact); |
| 708 | |
| 709 | return ret; |
| 710 | } |
| 711 | |
| 712 | bool ControllerAgent::handle_relative_move(const RelativeMoveParam& param) |
| 713 | { |