more on wk emulation

This commit is contained in:
Martin Brodbeck 2024-02-29 16:50:53 +01:00
parent 08bf317f9c
commit f1d865ab68
5 changed files with 98 additions and 27 deletions

View file

@ -8,4 +8,20 @@ class WinKeyer final
void run(queue_t &queue);
private:
enum class CommandState {
None,
Admin,
AdminEchoTest,
LoadDefaults,
KeyImmediate,
};
enum class WkMode {
WK1,
WK2,
WK3,
};
CommandState m_commandState {CommandState::None};
WkMode m_wkMode {WkMode::WK1};
bool m_hostOpen {false};
};