diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-24 16:51:34 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-24 16:51:34 +0100 |
commit | 090bda7406b0a3d1692624cf464dd46fb781d55f (patch) | |
tree | adcb05fd965a98d1f4fda9a2cdf2168d103a5a80 /inc/cub3d.h | |
parent | It ain't much but it's honest work (diff) | |
download | 42-cub3d-090bda7406b0a3d1692624cf464dd46fb781d55f.tar.gz 42-cub3d-090bda7406b0a3d1692624cf464dd46fb781d55f.tar.bz2 42-cub3d-090bda7406b0a3d1692624cf464dd46fb781d55f.tar.xz 42-cub3d-090bda7406b0a3d1692624cf464dd46fb781d55f.tar.zst 42-cub3d-090bda7406b0a3d1692624cf464dd46fb781d55f.zip |
Key defines for compatibility between Linux/Darwin
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r-- | inc/cub3d.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 <inttypes.h> +#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; |