Skip to main content

MaaPlayCoverControllerCreate

Function MaaPlayCoverControllerCreate 

Source
pub unsafe extern "C" fn MaaPlayCoverControllerCreate(
    address: *const c_char,
    uuid: *const c_char,
) -> *mut MaaController
Expand description

@brief Create a PlayCover controller for macOS.

@param address The PlayTools service address in “host:port” format. @param uuid The application bundle identifier (e.g., “com.hypergryph.arknights”). @return The controller handle, or nullptr on failure.

@note This controller is designed for PlayCover on macOS. @note Some features are not supported: start_app, input_text, click_key, key_down, key_up, scroll. @note Only single touch is supported (contact must be 0).