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

Method localize

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

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

Source from the content-addressed store, hash-verified

627
628////////////////////////////////////////////////////////////
629Keyboard::Key KeyboardImpl::localize(Keyboard::Scancode code)
630{
631 const KeySym keysym = scancodeToKeySym(code);
632 return keySymToKey(keysym);
633}
634
635
636////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 2

scancodeToKeySymFunction · 0.85
keySymToKeyFunction · 0.85

Tested by

no test coverage detected