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

Function isValidKeycode

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

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

Source from the content-addressed store, hash-verified

55
56////////////////////////////////////////////////////////////
57bool isValidKeycode(KeyCode keycode)
58{
59 // Valid key code range is [8,255], according to the Xlib manual
60 return keycode >= 8;
61}
62
63
64////////////////////////////////////////////////////////////

Callers 3

translateKeyCodeFunction · 0.85
ensureMappingFunction · 0.85
keyCodeToScancodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected