Skip to main content

MaaDbgControllerCreate

Function MaaDbgControllerCreate 

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

@brief Create a debug controller that serves images from a directory.

@param read_path Path to a directory of images (or a single image file). Images are loaded on connect and cycled through on each screencap request. All input operations (click, swipe, etc.) are no-ops that return success. @return The controller handle, or nullptr on failure.