| 297 | } |
| 298 | |
| 299 | std::optional<std::string> ControllerImpl::get_uuid() |
| 300 | { |
| 301 | StringBuffer buf; |
| 302 | if (!MaaControllerGetUuid(controller, buf)) { |
| 303 | return std::nullopt; |
| 304 | } |
| 305 | return buf.str(); |
| 306 | } |
| 307 | |
| 308 | std::optional<std::tuple<int32_t, int32_t>> ControllerImpl::get_resolution() |
| 309 | { |
no test coverage detected