renamed input_event to input_notify_event to clarify the function

pull/5/head
Sara 2023-05-11 21:07:07 +02:00
parent 22d0200d84
commit 0a37a3278d
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ void update_input() {
_scroll_delta = 0; _scroll_delta = 0;
} }
void input_event(SDL_Event event) { void input_notify_event(SDL_Event event) {
switch(event.type) { switch(event.type) {
default: default:
return; return;

View File

@ -54,9 +54,9 @@ extern void mouse_world_position(float* ox, float* oy);
extern void input_init(); extern void input_init();
extern void update_input(); extern void update_input();
extern void input_event(SDL_Event event);
extern int input_keydown(SDL_Scancode scancode); extern int input_keydown(SDL_Scancode scancode);
extern int input_mousedown(int mousebtn); extern int input_mousedown(int mousebtn);
extern void input_notify_event(SDL_Event event);
#ifdef __cplusplus #ifdef __cplusplus
} }