MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / MapNativeKey

Function MapNativeKey

src/Window_BeOS.cpp:491–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489};
490
491static int MapNativeKey(int raw) {
492 int key = raw >= 0 && raw < Array_Elems(key_map) ? key_map[raw] : 0;
493 if (!key) Platform_Log2("Unknown key: %i (%h)", &raw, &raw);
494 return key;
495}
496
497void Window_ProcessEvents(float delta) {
498 CCEvent event;

Callers 1

Window_ProcessEventsFunction · 0.70

Calls 1

Platform_Log2Function · 0.85

Tested by

no test coverage detected