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

Method click

source/MaaWin32ControlUnit/Input/SeizeInput.cpp:43–49  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

41// get_features() 返回 MaaControllerFeature_UseMouseDownAndUpInsteadOfClick,
42// 上层 ControllerAgent 会使用 touch_down/touch_up 替代 click/swipe
43bool SeizeInput::click(int x, int y)
44{
45 LogError << "deprecated: get_features() returns MaaControllerFeature_UseMouseDownAndUpInsteadOfClick, "
46 "use touch_down/touch_up instead"
47 << VAR(x) << VAR(y);
48 return false;
49}
50
51bool SeizeInput::swipe(int x1, int y1, int x2, int y2, int duration)
52{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected