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

Method isKeyPressed

src/SFML/Window/Unix/KeyboardImpl.cpp:605–609  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

603
604////////////////////////////////////////////////////////////
605bool KeyboardImpl::isKeyPressed(Keyboard::Key key)
606{
607 const KeyCode keycode = keyToKeyCode(key);
608 return isKeyPressedImpl(keycode);
609}
610
611
612////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 3

keyToKeyCodeFunction · 0.85
isKeyPressedImplFunction · 0.85
scancodeToKeyCodeFunction · 0.85

Tested by

no test coverage detected