From: Lukas Krickl Date: Mon, 2 Mar 2026 04:02:59 +0000 (+0100) Subject: input: removed i_input_set definition X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=52d14be3ee2527330e11eee8f403902c4e1b1136;p=lrts%2F.git input: removed i_input_set definition --- diff --git a/src/i_input.h b/src/i_input.h index 90d68b9..afa574a 100644 --- a/src/i_input.h +++ b/src/i_input.h @@ -66,16 +66,6 @@ extern struct i_input_map i_input_map; void i_input_init(void); -/* sets an input to held - * the scancode and modifiers have to match - * if no event map is present the event is dropped - * This should be called by the platforms event polling function - * to pass events as inputs to the engine - * should be called by p_poll_events - */ -void i_input_set(u16 scan_code, lrts_bool mod_shift, lrts_bool mod_alt, - lrts_bool mod_ctrl, lrts_bool mod_super, lrts_bool key_state); - /* updates input history by shifting pressed bitfield over by 1 and oring it with the held state */ void i_input_update(void);