aboutsummaryrefslogtreecommitdiff
path: root/include/06.keyboard/keyboard18.c
diff options
context:
space:
mode:
authorAleksa Vučković <aleksav013@gmail.com>2022-05-28 23:54:02 +0200
committerAleksa Vučković <aleksav013@gmail.com>2022-05-28 23:55:03 +0200
commite9424374b0f33c53d41ec4f5bbe13c9c9b1319f5 (patch)
tree8e92a6f98ee02a03b48ab61881cb9bc5a4a2f45d /include/06.keyboard/keyboard18.c
parent1abaec702595623d6d00f33d6e78494ccec1db86 (diff)
glavna funkcija
Diffstat (limited to 'include/06.keyboard/keyboard18.c')
-rw-r--r--include/06.keyboard/keyboard18.c15
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;
+ }