Merge branch 'master' of git.ctdo.de:interfisch/brotherax_teletype

This commit is contained in:
interfisch 2024-10-18 11:46:19 +02:00
commit 749dd37e1a
1 changed files with 2 additions and 0 deletions

View File

@ -331,12 +331,14 @@ void sendChar(char c,char c2) { //c2 =0 for 1 byte characters
Serial1.println("Format: Bold"); //echo
#endif
keypress[0]=64; keypress[2]=16; //ALT + ArrowDown(Top Right Key)
//TODO: count 3 hammer strokes for every bold written character, additional count_bufferedchars+=2
}else if (c==117) { //u.
#ifdef DEBUG
Serial1.println("Format: Underline"); //echo
#endif
keypress[0]=64; keypress[2]=128; //ALT + ArrowRight(one left to Top Right Key)
//Changing Underline Mode cycles through: OFF, KON (unlineline spaces), WRT (underline only letters)
//TODO: count 2 hammer strokes for every bold written character, additional count_bufferedchars+=1
}else if (c==106) { //j
#ifdef DEBUG
Serial1.println("Format: Move Down"); //echo