aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_events.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-14 18:57:10 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-14 18:57:10 +0100
commitf5e4e2f56a9d1b6019cc937e1291930455502c99 (patch)
treef89f14a43145af99e0a639a5209c067149436189 /src/ft_key_events.c
parentNorme is bav (diff)
download42-cub3d-f5e4e2f56a9d1b6019cc937e1291930455502c99.tar.gz
42-cub3d-f5e4e2f56a9d1b6019cc937e1291930455502c99.tar.bz2
42-cub3d-f5e4e2f56a9d1b6019cc937e1291930455502c99.tar.xz
42-cub3d-f5e4e2f56a9d1b6019cc937e1291930455502c99.tar.zst
42-cub3d-f5e4e2f56a9d1b6019cc937e1291930455502c99.zip
Bug fix, changed rot speed
Diffstat (limited to 'src/ft_key_events.c')
-rw-r--r--src/ft_key_events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_key_events.c b/src/ft_key_events.c
index e08e3d0..0609ba4 100644
--- a/src/ft_key_events.c
+++ b/src/ft_key_events.c
@@ -30,6 +30,8 @@ static uint16_t
(tmp_code == 3) ? (keycode = UINT16_MAX) : 0;
(tmp_code == 4) ? (keycode = UINT16_MAX) : 0;
(tmp_code == 5) ? (keycode = UINT16_MAX) : 0;
+ (tmp_code == FT_ESC_KEY) ? (keycode = FT_ESC_KEY) : 0;
+ (tmp_code == FT_F1_KEY) ? (keycode = FT_F1_KEY) : 0;
return (keycode);
}