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) {
|
if (count > 0) {
|
||||||
switch (buf[0]) {
|
switch (buf[0]) {
|
||||||
case 'a' ... 'z':
|
case '\"':
|
||||||
[[fallthrough]];
|
[[fallthrough]];
|
||||||
case 'A' ... 'Z':
|
case '$':
|
||||||
[[fallthrough]];
|
[[fallthrough]];
|
||||||
case '0' ... '9':
|
case '\'':
|
||||||
[[fallthrough]];
|
[[fallthrough]];
|
||||||
case ' ':
|
case '(':
|
||||||
[[fallthrough]];
|
[[fallthrough]];
|
||||||
case '+':
|
case ')':
|
||||||
[[fallthrough]];
|
[[fallthrough]];
|
||||||
case '=':
|
case '+' ... ']': {
|
||||||
[[fallthrough]];
|
|
||||||
case '?':
|
|
||||||
[[fallthrough]];
|
|
||||||
case ',':
|
|
||||||
[[fallthrough]];
|
|
||||||
case '.': {
|
|
||||||
KeyerQueueData keyerQueueData {KeyerQueueCommand::SendMessage, 0, Mode::IambicB, buf[0]};
|
KeyerQueueData keyerQueueData {KeyerQueueCommand::SendMessage, 0, Mode::IambicB, buf[0]};
|
||||||
queue_add_blocking(&queue, &keyerQueueData);
|
queue_add_blocking(&queue, &keyerQueueData);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue