raspikeyer/src/winkeyer.h

27 lines
443 B
C
Raw Normal View History

2024-02-27 12:56:32 +01:00
#pragma once
#include "pico/util/queue.h"
class WinKeyer final
{
public:
void run(queue_t &queue);
private:
2024-02-29 16:50:53 +01:00
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};
2024-02-27 12:56:32 +01:00
};