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

Method key_up

source/MaaWin32ControlUnit/Manager/Win32ControlUnitMgr.cpp:399–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397}
398
399bool Win32ControlUnitMgr::key_up(int key)
400{
401 if (managed_keys_.contains(key)) {
402 if (!background_keyboard_) {
403 LogError << "background_keyboard_ is null";
404 return false;
405 }
406 return background_keyboard_->key_up(key);
407 }
408
409 if (!keyboard_) {
410 LogError << "keyboard_ is null";
411 return false;
412 }
413
414 return keyboard_->key_up(key);
415}
416
417bool Win32ControlUnitMgr::scroll(int dx, int dy)
418{

Callers

nothing calls this directly

Calls 1

key_upMethod · 0.65

Tested by

no test coverage detected