From 090bda7406b0a3d1692624cf464dd46fb781d55f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 24 Jan 2020 16:51:34 +0100 Subject: Key defines for compatibility between Linux/Darwin --- inc/cub3d.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'inc/cub3d.h') diff --git a/inc/cub3d.h b/inc/cub3d.h index 0ca7128..4f495d4 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -3,6 +3,22 @@ #include +#ifndef FT_W_KEY +#define FT_W_KEY 13 +#endif +#ifndef FT_A_KEY +#define FT_A_KEY 0 +#endif +#ifndef FT_S_KEY +#define FT_S_KEY 1 +#endif +#ifndef FT_D_KEY +#define FT_D_KEY 2 +#endif +#ifndef FT_ESC_KEY +#define FT_ESC_KEY 53 +#endif + typedef struct s_win { void *wlx; -- cgit v1.2.3