mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 10:00:44 +08:00
feat: 初步实现Mac平台的原生Controller
This commit is contained in:
@@ -86,6 +86,10 @@ bool asst::Assistant::set_instance_option(InstanceOptionKey key, const std::stri
|
||||
m_ctrler->set_touch_mode(TouchMode::Maatouch);
|
||||
return true;
|
||||
}
|
||||
else if (constexpr std::string_view MacPlayTools = "MacPlayTools"; value == MacPlayTools) {
|
||||
m_ctrler->set_touch_mode(TouchMode::MacPlayTools);
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case InstanceOptionKey::DeploymentWithPause:
|
||||
if (constexpr std::string_view Enable = "1"; value == Enable) {
|
||||
|
||||
Reference in New Issue
Block a user