MCPcopy Create free account
hub / github.com/Illation/ETEngine / OnKeyPressed

Method OnKeyPressed

Engine/source/EtCore/Util/InputManager.cpp:74–77  ·  view source on GitHub ↗

--------------------------------- InputManager::OnKeyPressed Sets the key to pressed

Source from the content-addressed store, hash-verified

72// Sets the key to pressed
73//
74void InputManager::OnKeyPressed(E_KbdKey const key)
75{
76 m_KeyStates[key] = E_KeyState::Pressed;
77}
78
79//---------------------------------
80// InputManager::OnKeyReleased

Callers 2

OnKeyEventMethod · 0.80
InitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected