aboutsummaryrefslogtreecommitdiff
path: root/drivers/keyboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/keyboard.h')
-rw-r--r--drivers/keyboard.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/keyboard.h b/drivers/keyboard.h
new file mode 100644
index 0000000..a14c2c0
--- /dev/null
+++ b/drivers/keyboard.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "idt.h"
+#include "ports.h"
+
+class Keyboard : public InterruptHandler {
+public:
+ Keyboard();
+
+ void trigger() override;
+
+private:
+ keyboard_comm_t commandport;
+ keyboard_data_t dataport;
+};