diff options
Diffstat (limited to 'include/06.keyboard/deo19')
| -rw-r--r-- | include/06.keyboard/deo19 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/06.keyboard/deo19 b/include/06.keyboard/deo19 new file mode 100644 index 0000000..359ba30 --- /dev/null +++ b/include/06.keyboard/deo19 @@ -0,0 +1,22 @@ + default: + if(c!=' ') + { + if(ispressed[lctrl]||ispressed[rctrl]) + { + if(c=='l') + { + clear(); + prompt(); + printf("%s",buffer[buffer_current]); + return; + } + } + if(ispressed[lshift]||ispressed[rshift]) + { + c=shift_charcode[keycode]; + } + buffer[buffer_current][buffer_index++]=c; + printf("%c",c); + } + break; + } |
