diff options
Diffstat (limited to 'include/06.keyboard/keyboard18.c')
| -rw-r--r-- | include/06.keyboard/keyboard18.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/06.keyboard/keyboard18.c b/include/06.keyboard/keyboard18.c index d594130..367841a 100644 --- a/include/06.keyboard/keyboard18.c +++ b/include/06.keyboard/keyboard18.c @@ -1,7 +1,8 @@ - } - else - { - ispressed[keycode-0x80]=0; - } - } -} + if(buffer_index<BUFFER_SIZE) + { + buffer[buffer_current][buffer_index++]=c; + printf("%c",c); + } + } + break; + } |
