summaryrefslogtreecommitdiff
path: root/kernel/keyboard.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-11-26 17:42:33 +0100
committerMichal Idziorek <m.i@gmx.at>2014-11-26 17:42:33 +0100
commit9c8cfc2e52b0446f7cab14325028075760869b45 (patch)
treeb85a0f9403bd38ac7947cdf709de787241509533 /kernel/keyboard.c
parent786bd02b01d80e335d4445698d721213a1884ff5 (diff)
further cleanup
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)
{