From 0328e6497945bcebf4a69a63c5acff36d3a43872 Mon Sep 17 00:00:00 2001 From: stli Date: Sat, 11 Apr 2026 08:39:07 +0800 Subject: [PATCH] Add logic state model --- KeyBorad/KeyBorad/LOGIC/Lgc_State.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 KeyBorad/KeyBorad/LOGIC/Lgc_State.h diff --git a/KeyBorad/KeyBorad/LOGIC/Lgc_State.h b/KeyBorad/KeyBorad/LOGIC/Lgc_State.h new file mode 100644 index 0000000..4c0ab88 --- /dev/null +++ b/KeyBorad/KeyBorad/LOGIC/Lgc_State.h @@ -0,0 +1,19 @@ +#pragma once + +#include + +enum class Lgc_TransportType : quint8 +{ + None = 0, + Cdc, + Gatt, +}; + +struct Lgc_State +{ + bool IsConnected = false; + bool IsHandshakeDone = false; + Lgc_TransportType ActiveTransport = Lgc_TransportType::None; + quint32 ProtocolVersion = 0; + quint32 CapabilityFlags = 0; +};