Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SunOner/sunone_aimbot_2
/ getKeyCode
Method
getKeyCode
sunone_aimbot_2/keyboard/keycodes.cpp:138–144 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
136
};
137
138
int KeyCodes::getKeyCode(const std::string& key_name) {
139
auto it = key_code_map.find(key_name);
140
if (it != key_code_map.end())
141
return it->second;
142
else
143
return -1;
144
}
Callers
nothing calls this directly
Calls
1
end
Method · 0.45
Tested by
no test coverage detected