diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-10-24 19:13:46 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-10-24 19:13:46 +0200 |
| commit | 4b9be256c191b300dcbe0c75293967ec0701d5c3 (patch) | |
| tree | c45220aeba9705cef778ffd5b5f0eec9af97a63e | |
| parent | 24b57a61d6a4e37eedb840d14c8a6cc45f57a942 (diff) | |
added a few scancodes to allow brainfucking
| -rw-r--r-- | kernel/keyboard.c | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/kernel/keyboard.c b/kernel/keyboard.c index 746dc3a..3b0bbb1 100644 --- a/kernel/keyboard.c +++ b/kernel/keyboard.c @@ -130,7 +130,36 @@ void keyboard_handle(uint8_t in) ascii=' '; match=true; } - + else if(in==0xB4) + { + ascii='.'; + match=true; + } + else if(in==0xB3) + { + ascii=','; + match=true; + } + else if(in==0x8D) + { + ascii='+'; + match=true; + } + else if(in==0x8C) + { + ascii='-'; + match=true; + } + else if(in==0x9A) + { + ascii='['; + match=true; + } + else if(in==0x9B) + { + ascii=']'; + match=true; + } else if(break_key_backspace==in) { ascii='x'; |
