cub3d/src/utils/keypresses.h

28 lines
1.1 KiB
C
Raw Normal View History

2025-07-29 15:03:10 +02:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* keypresses.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tchampio <tchampio@student.42lehavre. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/29 13:42:39 by tchampio #+# #+# */
/* Updated: 2025/08/13 15:22:54 by tchampio ### ########.fr */
2025-07-29 15:03:10 +02:00
/* */
/* ************************************************************************** */
#ifndef KEYPRESSES_H
# define KEYPRESSES_H
2025-07-29 20:13:43 +02:00
typedef struct s_keypresses
2025-07-29 15:03:10 +02:00
{
bool is_w_pressed;
bool is_a_pressed;
bool is_s_pressed;
bool is_d_pressed;
bool is_left_pressed;
bool is_right_pressed;
bool is_f_pressed;
2025-07-29 15:03:10 +02:00
} t_keypresses;
#endif // KEYPRESSES_H