Skip to content

refactor: wwitch virtualhid_control to SDL3 + ImGui - #45

Merged
ReenigneArcher merged 3 commits into
masterfrom
feat/ui/use-ui-framework
Jul 7, 2026
Merged

refactor: wwitch virtualhid_control to SDL3 + ImGui#45
ReenigneArcher merged 3 commits into
masterfrom
feat/ui/use-ui-framework

Conversation

@ReenigneArcher

@ReenigneArcherReenigneArcher commented Jul 6, 2026

Copy link
Copy Markdown
Member

Replaces the Windows-native diagnostic UI with an SDL3/Dear ImGui implementation and unifies the tool frontend stack across platforms. The build now vendors CPM.cmake, adds a repository package lock for SDL3 and ImGui, and introduces LIBVIRTUALHID_TOOLS_STATIC_SDL3 (default) to prefer static SDL3 linkage when available. Documentation was updated to reflect the new UI architecture and toolchain behavior.

Description

Screenshot

image

Issues Fixed or Closed

Roadmap Issues

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Unit tests have been added or updated for any new or modified functionality

AI Usage

See our AI usage policy.

  • None: No AI tools were used in creating this PR
  • Light: AI provided minor assistance (formatting, simple suggestions)
  • Moderate: AI helped with code generation or debugging specific parts
  • Heavy: AI generated most or all of the code changes

Replaces the Windows-native diagnostic UI with an SDL3/Dear ImGui implementation and unifies the tool frontend stack across platforms. The build now vendors CPM.cmake, adds a repository package lock for SDL3 and ImGui, and introduces `LIBVIRTUALHID_TOOLS_STATIC_SDL3` (default on for Windows) to prefer static SDL3 linkage when available. Documentation was updated to reflect the new UI architecture and toolchain behavior.
Configure static MSVC runtime library (/MT or /MTd) when building Windows driver tools. This ensures compatibility with Windows Driver Kit requirements and prevents runtime dependencies.
@codecov

codecovBot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 495 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.64%. Comparing base (4715020) to head (a16474e).
✅ All tests successful. No failed tests found.

Files with missing linesPatch %Lines
tools/virtualhid_control.cpp0.00%352 Missing and 143 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@ Coverage Diff @@## master #45 +/- ##
==========================================
+ Coverage 76.17% 76.64% +0.47% 
==========================================
Files 18 18 Lines 5188 5156 -32 Branches 1987 2039 +52 ==========================================
Hits 3952 3952 + Misses 1105 816 -289 - Partials 131 388 +257 
FlagCoverage Δ
Linux-Clang55.83% <0.00%> (-10.14%)⬇️
Linux-GCC68.65% <0.00%> (-12.38%)⬇️
Windows-MSVC90.77% <ø> (ø)
Windows-MinGW-UCRT6464.45% <0.00%> (+1.06%)⬆️
macOS50.62% <0.00%> (-13.76%)⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing linesCoverage Δ
tools/virtualhid_control.cpp0.00% <0.00%> (ø)

... and 7 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4715020...a16474e. Read the comment docs.

@ReenigneArcher
ReenigneArcherforce-pushed the feat/ui/use-ui-framework branch from ccb1617 to a16474eCompareJuly 7, 2026 01:53
@sonarqubecloud

Copy link
Copy Markdown

@ReenigneArcher
ReenigneArcher merged commit 1bf81cd into masterJul 7, 2026
28 of 29 checks passed
@ReenigneArcher
ReenigneArcher deleted the feat/ui/use-ui-framework branch July 7, 2026 02:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@ReenigneArcher