summaryrefslogtreecommitdiff
path: root/kernel/input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/input.cpp')
-rw-r--r--kernel/input.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/input.cpp b/kernel/input.cpp
new file mode 100644
index 0000000..6bed7f5
--- /dev/null
+++ b/kernel/input.cpp
@@ -0,0 +1,13 @@
+#include <hilbert/kernel/input.hpp>
+#include <hilbert/kernel/panic.hpp>
+#include <hilbert/kernel/vfile.hpp>
+
+namespace hilbert::kernel::input {
+
+ utility::queue<uint32_t> *key_queue;
+
+ void init_input() {
+ key_queue = new utility::queue<uint32_t>();
+ }
+
+}