diff options
| author | Miguel <m.i@gmx.at> | 2018-08-17 02:28:02 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-17 02:28:02 +0200 |
| commit | c742be9c738c91703a7be787639cad167de3a6b1 (patch) | |
| tree | db0e170dab1b7f34630489d0cb1d396c92f15c79 /driver | |
| parent | 559eea53ecdd1e3e45f24d15e8739419b0cd647a (diff) | |
started reviving my fool os
Diffstat (limited to 'driver')
| -rw-r--r-- | driver/keyboard.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/driver/keyboard.c b/driver/keyboard.c index e4a13dc..f2a44ec 100644 --- a/driver/keyboard.c +++ b/driver/keyboard.c @@ -1,12 +1,10 @@ -#include <stdbool.h> +/// idiots keyboard driver //// +// http://www.computer-engineering.org/ps2keyboard/scancodes1.html #define FOOLOS_MODULE_NAME "keyboard" - +#include <stdbool.h> #include "kernel/x86.h" -/// idiots keyboard driver //// -// http://www.computer-engineering.org/ps2keyboard/scancodes1.html - static bool ctrl_l=false; static bool shift_l=false; static bool shift_r=false; @@ -95,10 +93,6 @@ void keyboard_handle(uint8_t in) }; - - - - uint8_t break_key_enter=0x9c; uint8_t break_key_space=0xb9; uint8_t break_key_backspace=0x8e; @@ -228,7 +222,6 @@ void keyboard_handle(uint8_t in) break; } } - if(match) { |
