MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Key_SetCatcher

Function Key_SetCatcher

code/client/cl_keys.cpp:1385–1391  ·  view source on GitHub ↗

==================== Key_SetCatcher ==================== */

Source from the content-addressed store, hash-verified

1383====================
1384*/
1385void Key_SetCatcher( int catcher ) {
1386 // If the catcher state is changing, clear all key states
1387 if ( catcher != keyCatchers )
1388 Key_ClearStates();
1389
1390 keyCatchers = catcher;
1391}

Callers 6

CL_ShutdownUIFunction · 0.70
CL_UISystemCallsFunction · 0.70
Con_ToggleConsole_fFunction · 0.70
Con_CloseFunction · 0.70
CL_MapLoadingFunction · 0.70
trap_Key_SetCatcherFunction · 0.50

Calls 1

Key_ClearStatesFunction · 0.70

Tested by

no test coverage detected