Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
398
bool 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
404
const char *CInput::KeyName(int Key) const
405
{
Callers
15
DoEditBox_Search
Method · 0.80
RenderStartMenu
Method · 0.80
CheckHotKey
Method · 0.80
RenderServerbrowserStatusBox
Method · 0.80
RenderSettingsCustom
Method · 0.80
RenderMenubar
Method · 0.80
RenderSettingsTee
Method · 0.80
RenderSettingsTee7
Method · 0.80
OnRender
Method · 0.80
RenderDemoPlayer
Method · 0.80
RenderDemoBrowserButtons
Method · 0.80
RenderServerControl
Method · 0.80
Calls
no outgoing calls
Tested by
1
OnRender
Method · 0.64