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

Method click_key

source/MaaCustomControlUnit/Manager/CustomControlUnitMgr.cpp:168–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168bool CustomControlUnitMgr::click_key(int key)
169{
170 if (!controller_ || !controller_->click_key) {
171 LogError << "controller_ or controller_->click_key is nullptr";
172 return false;
173 }
174
175 LogFunc << VAR_VOIDP(controller_) << VAR_VOIDP(controller_->click_key) << VAR(key);
176 return controller_->click_key(key, controller_arg_);
177}
178
179bool CustomControlUnitMgr::input_text(const std::string& text)
180{

Callers

nothing calls this directly

Calls 1

click_keyMethod · 0.65

Tested by

no test coverage detected