diff --git a/src/winkeyer.cpp b/src/winkeyer.cpp index 1eb2ff2..8b0b75b 100644 --- a/src/winkeyer.cpp +++ b/src/winkeyer.cpp @@ -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;