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

Method KeyPress

src/engine/client/input.cpp:398–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398bool CInput::KeyPress(int Key) const
399{
400 dbg_assert(Key >= KEY_FIRST && Key < KEY_LAST, "Key invalid: %d", Key);
401 return m_aFrameKeyStates[Key];
402}
403
404const char *CInput::KeyName(int Key) const
405{

Callers 15

DoEditBox_SearchMethod · 0.80
RenderStartMenuMethod · 0.80
CheckHotKeyMethod · 0.80
RenderSettingsCustomMethod · 0.80
RenderMenubarMethod · 0.80
RenderSettingsTeeMethod · 0.80
RenderSettingsTee7Method · 0.80
OnRenderMethod · 0.80
RenderDemoPlayerMethod · 0.80
RenderServerControlMethod · 0.80

Calls

no outgoing calls

Tested by 1

OnRenderMethod · 0.64