MCPcopy Create free account
hub / github.com/cococry/leif / lf_add_key_callback

Function lf_add_key_callback

leif.c:2259–2261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2257}
2258
2259void lf_add_key_callback(void* cb) {
2260 state.input.key_cbs[state.input.key_cb_count++] = (KEY_CALLBACK_t)cb;
2261}
2262void lf_add_mouse_button_callback(void* cb) {
2263 state.input.mouse_button_cbs[state.input.mouse_button_cb_count++] = (MOUSE_BUTTON_CALLBACK_t)cb;
2264}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected