pub unsafe extern "C" fn MaaMacOSControllerCreate(
window_id: u32,
screencap_method: MaaMacOSScreencapMethod,
input_method: MaaMacOSInputMethod,
) -> *mut MaaControllerExpand description
@brief Create a macOS controller for native macOS applications.
@param window_id The CGWindowID of the target window (0 for desktop). @param screencap_method macOS screencap method to use. @param input_method macOS input method to use. @return The controller handle, or nullptr on failure.
@note This controller is designed for native macOS applications. @note Requires Screen Recording permission for screencap. @note Input simulation requires Accessibility permission. @note Some features are not supported: start_app, stop_app, scroll. @note Only single touch is supported (contact must be 0).