MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / TelCom_ProcessCustomKeyEvent

Function TelCom_ProcessCustomKeyEvent

Descent3/TelCom.cpp:4108–4119  ·  view source on GitHub ↗

Handles a possible custom key event */

Source from the content-addressed store, hash-verified

4106 Handles a possible custom key event
4107*/
4108void TelCom_ProcessCustomKeyEvent(int key_id) {
4109 tCustomKeyEventID *curr = Telcom_custom_key_event_root;
4110
4111 while (curr) {
4112 if (key_id == curr->key_id) {
4113 curr->downcount++;
4114 return;
4115 }
4116
4117 curr = curr->next;
4118 }
4119}

Callers 1

TelComHandleAllEventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected