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

Function ddio_sdl_InternalKeyInit

ddio/lnxkey_sdl.cpp:396–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394} // sdlKeyFilter
395
396bool ddio_sdl_InternalKeyInit(ddio_init_info *init_info) {
397 // reset key list
398 for (int i = 0; i < DDIO_MAX_KEYS; i++) {
399 LKeys[i].down_ticks = 0;
400 LKeys[i].up_ticks = 0;
401 LKeys[i].status = false;
402 }
403 return true;
404}
405
406void ddio_sdl_InternalKeyClose() {}
407

Callers 1

ddio_InternalKeyInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected