MCPcopy Create free account
hub / github.com/ddnet/ddnet / KeyName

Method KeyName

src/engine/client/input.cpp:404–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404const char *CInput::KeyName(int Key) const
405{
406 dbg_assert(Key >= KEY_FIRST && Key < KEY_LAST, "Key invalid: %d", Key);
407 return g_aaKeyStrings[Key];
408}
409
410int CInput::FindKeyByName(const char *pKeyName) const
411{

Callers 3

PossibleKeysFunction · 0.80
GetKeyBindNameMethod · 0.80
RenderPressedKeysMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected