working input API

This commit is contained in:
2023-04-12 21:53:14 +02:00
parent fe45d0953d
commit 4fa9873f44
11 changed files with 182 additions and 75 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/04 16:56:35 by maldavid #+# #+# */
/* Updated: 2023/04/12 11:12:00 by maldavid ### ########.fr */
/* Updated: 2023/04/12 19:33:39 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -38,7 +38,7 @@ int mlx_mouse_hide();
int mlx_mouse_move(void* mlx, void* win, int x, int y);
int mlx_mouse_get_pos(void* mlx, int* x, int* y);
int mlx_on_event(void* mlx, mlx_event_type event, int (*f)(), void* param);
int mlx_on_event(void* mlx, void* win, mlx_event_type event, int (*f)(), void* param);
int mlx_do_key_autorepeaton(void* mlx);
int mlx_do_key_autorepeatoff(void* mlx);