Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SFML/SFML
/ isValidKey
Function
isValidKey
src/SFML/Window/Win32/InputImpl.cpp:581–584 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
579
}
580
581
bool isValidKey(sf::Keyboard::Key key)
582
{
583
return key > sf::Keyboard::Key::Unknown && static_cast<unsigned int>(key) < sf::Keyboard::KeyCount;
584
}
585
586
} // namespace
587
Callers
1
delocalize
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected