summaryrefslogtreecommitdiff
path: root/src/kernel/kbd.h
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2021-02-16 20:38:53 -0500
committerBenji Dial <benji6283@gmail.com>2021-02-16 20:38:53 -0500
commit47513bd32c256c4f35e3a8ced7d9fd7e15903530 (patch)
treecafdf75d52a954814726e07445063c41bb6599f9 /src/kernel/kbd.h
parentbd7facc4b5f53481dc85a15ba123361b2758655b (diff)
downloadportland-os-47513bd32c256c4f35e3a8ced7d9fd7e15903530.tar.gz
terminal application with ipc, shift+pause state dumper, hello world for terminal, meminfo popup program
Diffstat (limited to 'src/kernel/kbd.h')
-rw-r--r--src/kernel/kbd.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/kernel/kbd.h b/src/kernel/kbd.h
index e9affad..7e03fd7 100644
--- a/src/kernel/kbd.h
+++ b/src/kernel/kbd.h
@@ -1,11 +1,17 @@
#ifndef KBD_H
#define KBD_H
+#include <stdbool.h>
#include <stdint.h>
#include <keypack.h>
void init_kbd();
-void on_kbd_isr();
+
+enum kbd_isr_result {
+ NORMAL,
+ DUMP,
+ SHIFT_DUMP
+} on_kbd_isr();
#endif