first push

This commit is contained in:
2026-04-03 09:26:10 +08:00
parent 2937a44e07
commit 025b88e366
41 changed files with 6842 additions and 0 deletions

30
LOGIC/Lgc_Core_Private.h Normal file
View File

@@ -0,0 +1,30 @@
#pragma once
#include "LOGIC/Lgc_Core.h"
void Lgc_Core_AppendStatusLog(Lgc_Core_Struct_State* p_State, const QString& Text);
void Lgc_Core_AppendPacketLog(
Lgc_Core_Struct_State* p_State,
const QString& ActionText,
const QString& PortName,
const QByteArray& Packet,
const QString& ExplainText);
void Lgc_Core_ClearAllKeyStates(Lgc_Core_Struct_State* p_State);
void Lgc_Core_CloseAllPorts(Lgc_Core_Struct_State* p_State);
void Lgc_Core_FillMaskAllEnabled(QByteArray* p_UsageBitmap);
void Lgc_Core_UpdateSendTransportByPacket(
Lgc_Core_Struct_State* p_State,
Mid_Enum_RawPacketSource Source);
void Lgc_Core_NormalizeSendTransport(Lgc_Core_Struct_State* p_State);
bool Lgc_Core_SendCurrentMask(Lgc_Core_Struct_State* p_State);
bool Lgc_Core_SyncSystemState(Lgc_Core_Struct_State* p_State);
void Lgc_Core_HandleNkroPacket(Lgc_Core_Struct_State* p_State, const Mid_Struct_RawPacket& Packet);
void Lgc_Core_HandleConsumerPacket(Lgc_Core_Struct_State* p_State, const Mid_Struct_RawPacket& Packet);
void Lgc_Core_HandleVendorPacket(Lgc_Core_Struct_State* p_State, const Mid_Struct_RawPacket& Packet);
void Lgc_Core_HandleBlePacket(Lgc_Core_Struct_State* p_State, const Mid_Struct_RawPacket& Packet);
bool Lgc_Core_HandleFunctionButtons(Lgc_Core_Struct_State* p_State);