summaryrefslogtreecommitdiff
path: root/kernel/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/keyboard.c')
-rw-r--r--kernel/keyboard.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/kernel/keyboard.c b/kernel/keyboard.c
index 074c495..32f28f0 100644
--- a/kernel/keyboard.c
+++ b/kernel/keyboard.c
@@ -11,15 +11,9 @@
/// keyboard driver ////
// http://www.computer-engineering.org/ps2keyboard/scancodes1.html
-static bool shift_l;
-static bool shift_r;
-static bool capslock;
-
-void keyboard_init()
-{
- shift_l=shift_r=capslock=false; //!!
-}
-
+static bool shift_l=false;
+static bool shift_r=false;
+static bool capslock=false;
void keyboard_handle(uint8_t in)
{