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

Function delocalize

src/SFML/Window/Win32/InputImpl.cpp:619–627  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

617
618////////////////////////////////////////////////////////////
619Keyboard::Scancode delocalize(Keyboard::Key key)
620{
621 if (!isValidKey(key))
622 return Keyboard::Scan::Unknown;
623
624 ensureMappings();
625
626 return keyToScancodeMapping[key];
627}
628
629
630////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 2

isValidKeyFunction · 0.85
ensureMappingsFunction · 0.85

Tested by

no test coverage detected