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

Method key_up

source/MaaCustomControlUnit/Manager/CustomControlUnitMgr.cpp:201–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201bool CustomControlUnitMgr::key_up(int key)
202{
203 if (!controller_ || !controller_->key_up) {
204 LogError << "controller_ or controller_->key_up is nullptr";
205 return false;
206 }
207
208 LogFunc << VAR_VOIDP(controller_) << VAR_VOIDP(controller_->key_up) << VAR(key);
209 return controller_->key_up(key, controller_arg_);
210}
211
212bool CustomControlUnitMgr::scroll(int dx, int dy)
213{

Callers

nothing calls this directly

Calls 1

key_upMethod · 0.65

Tested by

no test coverage detected