renamed input_event to input_notify_event to clarify the function
parent
22d0200d84
commit
0a37a3278d
|
@ -140,7 +140,7 @@ void update_input() {
|
|||
_scroll_delta = 0;
|
||||
}
|
||||
|
||||
void input_event(SDL_Event event) {
|
||||
void input_notify_event(SDL_Event event) {
|
||||
switch(event.type) {
|
||||
default:
|
||||
return;
|
||||
|
|
|
@ -54,9 +54,9 @@ extern void mouse_world_position(float* ox, float* oy);
|
|||
|
||||
extern void input_init();
|
||||
extern void update_input();
|
||||
extern void input_event(SDL_Event event);
|
||||
extern int input_keydown(SDL_Scancode scancode);
|
||||
extern int input_mousedown(int mousebtn);
|
||||
extern void input_notify_event(SDL_Event event);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue