aboutsummaryrefslogtreecommitdiff
path: root/include/06.keyboard/deo19
blob: 359ba308d510a08b200cfc3ba52329e477539457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
            }