Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
576
bool isValidScancode(sf::Keyboard::Scancode code)
577
{
578
return code > sf::Keyboard::Scan::Unknown && static_cast<unsigned int>(code) < sf::Keyboard::ScancodeCount;
579
}
580
581
bool isValidKey(sf::Keyboard::Key key)
582
{
Callers
1
localize
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected