MCPcopy Create free account
hub / github.com/SFML/SFML / isKeyPressed

Function isKeyPressed

src/SFML/Window/Keyboard.cpp:37–40  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

35{
36////////////////////////////////////////////////////////////
37bool isKeyPressed(Key key)
38{
39 return priv::InputImpl::isKeyPressed(key);
40}
41
42////////////////////////////////////////////////////////////
43bool isKeyPressed(Scancode code)

Callers 5

Keyboard.test.cppFile · 0.50
mainFunction · 0.50
updateMethod · 0.50
mainFunction · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected