diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-23 23:26:26 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-23 23:26:26 +0100 |
| commit | ec0ba7bc40854eab6a1cdb41364f41f9c11407e1 (patch) | |
| tree | 88f3896c70ac32bc1b70dcd7ebddbbe595c6608f /kernel/keyboard.c | |
| parent | 50300fa573bf2bc00f9732e812d54ab77cf03dd7 (diff) | |
foolshell and syscalls improvememets
Diffstat (limited to 'kernel/keyboard.c')
| -rw-r--r-- | kernel/keyboard.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/keyboard.c b/kernel/keyboard.c index 49c2fa0..074c495 100644 --- a/kernel/keyboard.c +++ b/kernel/keyboard.c @@ -112,6 +112,7 @@ void keyboard_handle(uint8_t in) uint8_t break_key_shift_r=0xb6; uint8_t break_caps_lock=0xba; + uint8_t break_slash=0xb5; if(make_key_shift_l==in)shift_l=true; if(break_key_shift_l==in)shift_l=false;; @@ -126,6 +127,11 @@ void keyboard_handle(uint8_t in) bool match=false; // optimize this! + if(break_slash==in) + { + ascii='/'; + match=true; + } if(break_key_space==in) { ascii=' '; |
