diff options
Diffstat (limited to 'include/06.keyboard/deo17')
| -rw-r--r-- | include/06.keyboard/deo17 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/06.keyboard/deo17 b/include/06.keyboard/deo17 new file mode 100644 index 0000000..ded0af2 --- /dev/null +++ b/include/06.keyboard/deo17 @@ -0,0 +1,8 @@ + if (status & 0x1) + { + uint8_t keycode = ioport_in(KEYBOARD_DATA_PORT); + if(keycode<0x80) + { + char c=charcode[keycode]; + ispressed[keycode]=1; + // printf("%d ",&keycode); |
