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

Function MapNativeKey

src/Window_MacClassic.c:150–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148/* 0x78 */ CCKEY_F2, CCKEY_PAGEDOWN, CCKEY_F1, CCKEY_LEFT, CCKEY_RIGHT, CCKEY_DOWN, CCKEY_UP, 0,
149};
150static int MapNativeKey(UInt32 key) { return key < Array_Elems(key_map) ? key_map[key] : 0; }
151
152void Window_PreInit(void) {
153 InitGraf(&qd.thePort);

Callers 2

HandleKeyDownFunction · 0.70
HandleKeyUpFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected