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

Function lf_mouse_button_changed

leif.c:2304–2306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2302}
2303
2304bool lf_mouse_button_changed(uint32_t button) {
2305 return state.input.mouse.buttons_current[button] != state.input.mouse.buttons_last[button];
2306}
2307
2308bool lf_mouse_button_went_down_on_div(uint32_t button) {
2309 return lf_mouse_button_went_down(button) && state.scrollbar_div.id == state.current_div.id;

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected