15#include "../MaaPort.h"
46 MaaBool (*
swipe)(int32_t x1, int32_t y1, int32_t x2, int32_t y2, int32_t duration,
void* trans_arg);
48 MaaBool (*
touch_down)(int32_t contact, int32_t x, int32_t y, int32_t pressure,
void* trans_arg);
50 MaaBool (*
touch_move)(int32_t contact, int32_t x, int32_t y, int32_t pressure,
void* trans_arg);
struct MaaImageBuffer MaaImageBuffer
Definition MaaDef.h:31
uint8_t MaaBool
Definition MaaDef.h:18
struct MaaStringBuffer MaaStringBuffer
Definition MaaDef.h:30
The custom controller API.
Definition MaaCustomController.h:32
MaaBool(* screencap)(void *trans_arg, MaaImageBuffer *buffer)
Write result to buffer.
Definition MaaCustomController.h:42
MaaBool(* touch_up)(int32_t contact, void *trans_arg)
Definition MaaCustomController.h:52
MaaBool(* press_key)(int32_t keycode, void *trans_arg)
Definition MaaCustomController.h:54
MaaBool(* stop_app)(const char *intent, void *trans_arg)
Definition MaaCustomController.h:39
MaaBool(* connect)(void *trans_arg)
Definition MaaCustomController.h:33
MaaBool(* swipe)(int32_t x1, int32_t y1, int32_t x2, int32_t y2, int32_t duration, void *trans_arg)
Definition MaaCustomController.h:46
MaaBool(* touch_down)(int32_t contact, int32_t x, int32_t y, int32_t pressure, void *trans_arg)
Definition MaaCustomController.h:48
MaaBool(* start_app)(const char *intent, void *trans_arg)
Definition MaaCustomController.h:38
MaaBool(* click)(int32_t x, int32_t y, void *trans_arg)
Definition MaaCustomController.h:44
MaaBool(* touch_move)(int32_t contact, int32_t x, int32_t y, int32_t pressure, void *trans_arg)
Definition MaaCustomController.h:50
MaaBool(* input_text)(const char *text, void *trans_arg)
Definition MaaCustomController.h:56
MaaBool(* request_uuid)(void *trans_arg, MaaStringBuffer *buffer)
Write result to buffer.
Definition MaaCustomController.h:36