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

Method get_features

source/MaaAdbControlUnit/Input/MtouchHelper.cpp:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28MaaControllerFeature MtouchHelper::get_features() const
29{
30 MaaControllerFeature feat = MaaControllerFeature_UseMouseDownAndUpInsteadOfClick;
31 if (adb_shell_input_) {
32 feat |= adb_shell_input_->get_features() & MaaControllerFeature_UseKeyboardDownAndUpInsteadOfClick;
33 }
34 return feat;
35}
36
37bool MtouchHelper::click_key(int key)
38{

Callers

nothing calls this directly

Calls 1

get_featuresMethod · 0.65

Tested by

no test coverage detected