aboutsummaryrefslogtreecommitdiff
path: root/src/engine/user/input.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-28 19:22:06 +0200
committerHampusM <hampus@hampusmat.com>2022-06-28 19:22:06 +0200
commitd2a76bd8cfd883070259bf572a9f723a37c0d96e (patch)
treecca72b471b0c3a562789a1ab966e4568edf7165a /src/engine/user/input.cpp
parentdaf39f75d764449f18cd480b6d3c645b8372b0a5 (diff)
refactor: improve includes with iwyu
Diffstat (limited to 'src/engine/user/input.cpp')
-rw-r--r--src/engine/user/input.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/engine/user/input.cpp b/src/engine/user/input.cpp
index f0ffbe5..505a0fa 100644
--- a/src/engine/user/input.cpp
+++ b/src/engine/user/input.cpp
@@ -1,11 +1,10 @@
#include "input.hpp"
-#include "engine/keycodes.hpp"
-
#include <iostream>
-#include <unistd.h>
#include <unordered_map>
+#include "engine/keycodes.hpp"
+
const std::unordered_map<char, char> special_keys_map = {
{'A', keycodes::UP_ARROW},
{'B', keycodes::DOWN_ARROW},