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

Function isValidScancode

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

Source from the content-addressed store, hash-verified

574}
575
576bool isValidScancode(sf::Keyboard::Scancode code)
577{
578 return code > sf::Keyboard::Scan::Unknown && static_cast<unsigned int>(code) < sf::Keyboard::ScancodeCount;
579}
580
581bool isValidKey(sf::Keyboard::Key key)
582{

Callers 1

localizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected