Cub3D
 
Loading...
Searching...
No Matches
ft_hooks.c File Reference
#include "data_structure.h"
#include "ft_keys.h"
#include "ft_print.h"
#include "mlx.h"
#include <X11/X.h>
#include "maze.h"
#include "filter.h"
Include dependency graph for ft_hooks.c:

Functions

int cub_keydown_hook (int keycode, void *param)
 Hook when a key is pressed.
 
int cub_keyup_hook (int keycode, void *param)
 Hook when a key is released.
 
int cub_mouse_hook (int x, int y, void *param)
 Hook when the mouse is moved.
 
int cub_mouse_click_hook (int button, int x, int y, void *param)
 Hook when the mouse is moved while clicking.