Table of Contents

Method MaaDbgControllerCreate

Namespace
MaaFramework.Binding.Interop.Native
Assembly
MaaFramework.Binding.Native.dll

MaaDbgControllerCreate(string)

Create a debug controller that serves images from a directory.

public static nint MaaDbgControllerCreate(string readPath)

Parameters

readPath string

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.

Returns

nint

The controller handle, or nint.Zero on failure.