fix: forgot to add header file

This commit is contained in:
Theo Champion 2025-07-29 15:03:10 +02:00
parent 2e1838e0bd
commit e46f199606

26
src/utils/keypresses.h Normal file
View file

@ -0,0 +1,26 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* keypresses.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tchampio <tchampio@student.42lehavre. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/29 13:42:39 by tchampio #+# #+# */
/* Updated: 2025/07/29 13:43:14 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef KEYPRESSES_H
# define KEYPRESSES_H
typedef struct s_keypresses
{
bool is_w_pressed;
bool is_a_pressed;
bool is_s_pressed;
bool is_d_pressed;
bool is_left_pressed;
bool is_right_pressed;
} t_keypresses;
#endif // KEYPRESSES_H