Function maa_framework::internal::MaaCustomControllerCreate
source · pub unsafe extern "C" fn MaaCustomControllerCreate(
handle: MaaCustomControllerHandle,
handle_arg: MaaTransparentArg,
callback: MaaControllerCallback,
callback_arg: MaaCallbackTransparentArg
) -> MaaControllerHandle
Available on crate feature
internal
only.Expand description
@brief Create a custom controller instance.
@param handle The handle to your instance of custom controller. See MaaCustomControllerAPI. @param handle_arg The arg that will be passed to the custom controller API. @param callback The callback function. See ::MaaAPICallback. @param callback_arg The callback arg that will be passed to the callback function. @return MaaControllerHandle The handle of the created controller instance.