summaryrefslogtreecommitdiff
path: root/kernel/source/input.cpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-05-19 04:34:40 -0400
committerBenji Dial <benji@benjidial.net>2024-05-19 04:34:40 -0400
commite60fa7740cd7d245d1b22a25fea9df0768d32668 (patch)
tree728fa422d3a2abc66a3e2d89e4ef03b72074bb3e /kernel/source/input.cpp
parentb1a912a8a6ff472a49b2e0a09cfd433adfc2cb24 (diff)
downloadhilbert-os-e60fa7740cd7d245d1b22a25fea9df0768d32668.tar.gz
mouse support (working in qemu, semi-working in virtualbox)
Diffstat (limited to 'kernel/source/input.cpp')
-rw-r--r--kernel/source/input.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/source/input.cpp b/kernel/source/input.cpp
index 696cb13..921ae7b 100644
--- a/kernel/source/input.cpp
+++ b/kernel/source/input.cpp
@@ -5,10 +5,10 @@
namespace hilbert::kernel::input {
- utility::queue<uint32_t> *key_queue;
+ utility::queue<input_packet> *input_queue;
void init_input() {
- key_queue = new utility::queue<uint32_t>();
+ input_queue = new utility::queue<input_packet>();
}
void got_input() {