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

Function update_input

leif.c:1619–1621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1617#endif
1618
1619void update_input() {
1620 memcpy(state.input.mouse.buttons_last, state.input.mouse.buttons_current, sizeof(bool) * MAX_MOUSE_BUTTONS);
1621}
1622
1623void clear_events() {
1624 state.key_ev.happened = false;

Callers 1

lf_endFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected