Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaaXYZ/MaaFramework
/ key_down
Method
key_down
source/MaaMacOSControlUnit/Manager/MacOSControlUnitMgr.cpp:191–199 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
189
}
190
191
bool MacOSControlUnitMgr::key_down(int key)
192
{
193
if (!input_) {
194
LogError <<
"input_ is nullptr"
;
195
return false;
196
}
197
198
return input_->key_down(key);
199
}
200
201
bool MacOSControlUnitMgr::key_up(int key)
202
{
Callers
nothing calls this directly
Calls
1
key_down
Method · 0.65
Tested by
no test coverage detected