Skip to content

Commit

Permalink
Merge pull request #3 from qshosfw/fix-messenger-letter-hold-time
Browse files Browse the repository at this point in the history
messenger: Reduce hold time for next character to 500ms
  • Loading branch information
LolloDev5123 authored Feb 22, 2024
2 parents 1b57bd5 + bee7d6f commit 434a03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#endif
#define MAX_MSG_LENGTH TX_MSG_LENGTH - 1

#define NEXT_CHAR_DELAY 100 // 10ms tick
#define NEXT_CHAR_DELAY 50 // 10ms tick

char T9TableLow[9][4] = {{',', '.', '?', '!'}, {'a', 'b', 'c', '\0'}, {'d', 'e', 'f', '\0'}, {'g', 'h', 'i', '\0'}, {'j', 'k', 'l', '\0'}, {'m', 'n', 'o', '\0'}, {'p', 'q', 'r', 's'}, {'t', 'u', 'v', '\0'}, {'w', 'x', 'y', 'z'}};
char T9TableUp[9][4] = {{',', '.', '?', '!'}, {'A', 'B', 'C', '\0'}, {'D', 'E', 'F', '\0'}, {'G', 'H', 'I', '\0'}, {'J', 'K', 'L', '\0'}, {'M', 'N', 'O', '\0'}, {'P', 'Q', 'R', 'S'}, {'T', 'U', 'V', '\0'}, {'W', 'X', 'Y', 'Z'}};
Expand Down

0 comments on commit 434a03f

Please sign in to comment.