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

Method post_key_down

source/binding/NodeJS/src/apis/controller.cpp:243–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243maajs::ValueType ControllerImpl::post_key_down(maajs::ValueType self, maajs::EnvType, int32_t keycode)
244{
245 auto id = MaaControllerPostKeyDown(controller, keycode);
246 return maajs::CallCtorHelper(ExtContext::get(env)->jobCtor, self, id);
247}
248
249maajs::ValueType ControllerImpl::post_key_up(maajs::ValueType self, maajs::EnvType, int32_t keycode)
250{

Callers 5

MaaControllerPostKeyDownFunction · 0.45
runMethod · 0.45
test_controller_apiFunction · 0.45
test_custom_controllerFunction · 0.45
runMethod · 0.45

Calls 2

MaaControllerPostKeyDownFunction · 0.85
CallCtorHelperFunction · 0.85

Tested by 4

runMethod · 0.36
test_controller_apiFunction · 0.36
test_custom_controllerFunction · 0.36
runMethod · 0.36