| 2284 | } |
| 2285 | |
| 2286 | bool lf_key_changed(uint32_t key) { |
| 2287 | bool ret = state.input.keyboard.keys_changed[key]; |
| 2288 | state.input.keyboard.keys_changed[key] = false; |
| 2289 | return ret; |
| 2290 | } |
| 2291 | |
| 2292 | bool lf_mouse_button_went_down(uint32_t button) { |
| 2293 | return lf_mouse_button_changed(button) && state.input.mouse.buttons_current[button]; |
no outgoing calls
no test coverage detected