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

Function lf_add_cursor_pos_callback

leif.c:2270–2272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2268}
2269
2270void lf_add_cursor_pos_callback(void* cb) {
2271 state.input.cursor_pos_cbs[state.input.cursor_pos_cb_count++] = (CURSOR_CALLBACK_t)cb;
2272}
2273
2274bool lf_key_went_down(uint32_t key) {
2275 return lf_key_changed(key) && state.input.keyboard.keys[key];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected