feat: 返回桌面&模拟器返回桌面

This commit is contained in:
ManicSteiner
2023-11-03 23:37:43 +08:00
parent f92beff5c1
commit f734464a52
26 changed files with 106 additions and 1 deletions

View File

@@ -166,6 +166,12 @@ std::pair<int, int> asst::PlayToolsController::get_screen_res() const noexcept
return m_screen_size;
}
void asst::PlayToolsController::back_to_home() noexcept
{
Log.info("HOME is not supported on iOS");
return;
}
bool asst::PlayToolsController::toucher_down(const Point& p, const int delay)
{
return toucher_commit(TouchPhase::Began, p, delay);