perf: auto start optimization + MAC fix (#9083)

I have no way to test for MAC
This commit is contained in:
uye
2024-05-17 09:27:50 +08:00
committed by GitHub
4 changed files with 62 additions and 54 deletions

View File

@@ -49,6 +49,10 @@ size_t asst::Controller::get_version() const noexcept
return m_controller->get_version();
}
asst::ControllerType asst::Controller::get_controller_type() const noexcept
{
return m_controller_type;
}
std::pair<int, int> asst::Controller::get_scale_size() const noexcept
{

View File

@@ -52,6 +52,8 @@ public:
size_t get_version() const noexcept;
ControllerType get_controller_type() const noexcept;
cv::Mat get_image(bool raw = false);
cv::Mat get_image_cache() const;
bool screencap(bool allow_reconnect = false);