send all supported chars to message queue
This commit is contained in:
parent
3311e7d790
commit
08bf317f9c
1 changed files with 6 additions and 12 deletions
|
@ -17,23 +17,17 @@ void WinKeyer::run(queue_t &queue)
|
|||
|
||||
if (count > 0) {
|
||||
switch (buf[0]) {
|
||||
case 'a' ... 'z':
|
||||
case '\"':
|
||||
[[fallthrough]];
|
||||
case 'A' ... 'Z':
|
||||
case '$':
|
||||
[[fallthrough]];
|
||||
case '0' ... '9':
|
||||
case '\'':
|
||||
[[fallthrough]];
|
||||
case ' ':
|
||||
case '(':
|
||||
[[fallthrough]];
|
||||
case '+':
|
||||
case ')':
|
||||
[[fallthrough]];
|
||||
case '=':
|
||||
[[fallthrough]];
|
||||
case '?':
|
||||
[[fallthrough]];
|
||||
case ',':
|
||||
[[fallthrough]];
|
||||
case '.': {
|
||||
case '+' ... ']': {
|
||||
KeyerQueueData keyerQueueData {KeyerQueueCommand::SendMessage, 0, Mode::IambicB, buf[0]};
|
||||
queue_add_blocking(&queue, &keyerQueueData);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue