/* ************************************************************************** */ /* LE - / */ /* / */ /* ft_click_close.c .:: .:/ . .:: */ /* +:+:+ +: +: +:+:+ */ /* By: rbousset +:+ +: +: +:+ */ /* #+# #+ #+ #+# */ /* Created: 2020/02/09 15:12:16 by rbousset #+# ## ## #+# */ /* Updated: 2020/02/09 15:12:17 by rbousset ### #+. /#+ ###.fr */ /* / */ /* / */ /* ************************************************************************** */ #include #include #include #include int ft_click_close(int keycode, t_cub *clist) { ft_printf("Button [%d] pressed\n", keycode); if (keycode == 8800) return (ft_exit(0, clist)); return (0); }