[idd] ipc: connect LGInput to LGIdd

Move the reusable named-pipe endpoint and shared support code into
the LGCommon static library.

Run a dedicated server in LGIdd and a reconnecting client in
LGInput, with device-lifecycle handling and report framing.

Refactor the helper pipe to use the same endpoint implementation.
This commit is contained in:
Geoffrey McRae
2026-08-08 19:06:50 +10:00
parent 214665bedd
commit 241ab3fad2
24 changed files with 1463 additions and 478 deletions

View File

@@ -20,23 +20,16 @@
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="$(ProjectDir)..\LGCommon\CDebug.cpp">
<Link>Common\CDebug.cpp</Link>
</ClCompile>
<ClCompile Include="CHIDDevice.cpp" />
<ClCompile Include="Driver.cpp" />
<ClCompile Include="HIDReports.cpp" />
<ClCompile Include="ipc\CInputPipeClient.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="$(ProjectDir)..\LGCommon\CDebug.h">
<Link>Common\CDebug.h</Link>
</ClInclude>
<ClInclude Include="$(ProjectDir)..\LGCommon\CSRWLock.h">
<Link>Common\CSRWLock.h</Link>
</ClInclude>
<ClInclude Include="CHIDDevice.h" />
<ClInclude Include="Driver.h" />
<ClInclude Include="HIDReports.h" />
<ClInclude Include="ipc\CInputPipeClient.h" />
<ClInclude Include="Trace.h" />
</ItemGroup>
<ItemGroup>
@@ -99,6 +92,11 @@
<ItemGroup>
<FilesToPackage Include="$(TargetPath)" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\LGCommon\LGCommon.vcxproj">
<Project>{acb90e34-01ca-4b86-813b-3d20904994c6}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>