From 890be17c996fc8aefdf11013b93bae1487b128bf Mon Sep 17 00:00:00 2001 From: Fisch Date: Tue, 15 Oct 2024 11:21:31 +0200 Subject: [PATCH] add todos for hammer stroke counting --- brotherax240_cntrl/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/brotherax240_cntrl/src/main.cpp b/brotherax240_cntrl/src/main.cpp index dabfe16..4415538 100644 --- a/brotherax240_cntrl/src/main.cpp +++ b/brotherax240_cntrl/src/main.cpp @@ -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