pub unsafe extern "C" fn MaaControllerGetInfo(
ctrl: *const MaaController,
buffer: *mut MaaStringBuffer,
) -> MaaBoolExpand description
@brief Get controller information as a JSON string.
@param ctrl The controller handle. @param buffer The output buffer to store the JSON string. @return true if the info is available, false otherwise.
@note Returns controller-specific information including type, constructor parameters and current state. The returned JSON always contains a “type” field indicating the controller type.