MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / click

Method click

source/MaaAdbControlUnit/EmulatorExtras/MuMuPlayerExtras.cpp:109–115  ·  view source on GitHub ↗

get_features() 返回 MaaControllerFeature_UseMouseDownAndUpInsteadOfClick, 上层 ControllerAgent 会使用 touch_down/touch_up 替代 click/swipe

Source from the content-addressed store, hash-verified

107// get_features() 返回 MaaControllerFeature_UseMouseDownAndUpInsteadOfClick,
108// 上层 ControllerAgent 会使用 touch_down/touch_up 替代 click/swipe
109bool MuMuPlayerExtras::click(int x, int y)
110{
111 LogError << "deprecated: get_features() returns MaaControllerFeature_UseMouseDownAndUpInsteadOfClick, "
112 "use touch_down/touch_up instead"
113 << VAR(x) << VAR(y);
114 return false;
115}
116
117bool MuMuPlayerExtras::swipe(int x1, int y1, int x2, int y2, int duration)
118{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected