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

Function CL_KeyEvent

code/client/cl_keys.cpp:1327–1332  ·  view source on GitHub ↗

=================== CL_KeyEvent Called by the system for both key up and key down events =================== */

Source from the content-addressed store, hash-verified

1325===================
1326*/
1327void CL_KeyEvent (int key, qboolean down, unsigned time) {
1328 if( down )
1329 CL_KeyDownEvent( key, time );
1330 else
1331 CL_KeyUpEvent( key, time );
1332}
1333
1334/*
1335===================

Callers 3

Con_ToggleMenu_fFunction · 0.70
Key_ClearStatesFunction · 0.70
Com_EventLoopFunction · 0.50

Calls 2

CL_KeyDownEventFunction · 0.70
CL_KeyUpEventFunction · 0.70

Tested by

no test coverage detected