Skip to content

feat(FreeBSD): Add backend support - #72

Merged
ReenigneArcher merged 1 commit into
masterfrom
feat/freebsd
Aug 14, 2026
Merged

feat(FreeBSD): Add backend support#72
ReenigneArcher merged 1 commit into
masterfrom
feat/freebsd

Conversation

@ReenigneArcher

Copy link
Copy Markdown
Member

Description

Refactors CI into reusable workflow-call pipelines (ci-driver, ci-build, ci-results) and updates the top-level ci.yml to orchestrate release setup, Windows driver packaging/signing, cross-platform library builds (now including FreeBSD), and Codecov uploads.

Adds FreeBSD platform support details across build and runtime behavior: enables threaded use on FreeBSD, applies required Clang libc++ experimental flags, extends the Linux/uhid backend implementation to support FreeBSD uinput paths and platform-specific capability/effective-profile handling, and wires in new FreeBSD integration tests. Documentation is updated to describe FreeBSD’s uinput-based feature subset and integration expectations.

Screenshot

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

@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.92857% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.76%. Comparing base (a0560b7) to head (e49cbdb).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/platform/linux/uhid_backend.cpp 81.25% 3 Missing and 6 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage   74.48%   74.76%   +0.28%     
==========================================
  Files          33       33              
  Lines        7869     7910      +41     
  Branches     2954     2968      +14     
==========================================
+ Hits         5861     5914      +53     
+ Misses       1728     1439     -289     
- Partials      280      557     +277     
Flag Coverage Δ
FreeBSD 50.96% <67.34%> (?)
Linux-Clang 56.64% <76.47%> (+0.08%) ⬆️
Linux-GCC 67.52% <91.17%> (+0.08%) ⬆️
Windows-MSVC 88.06% <75.00%> (+0.14%) ⬆️
Windows-MinGW-UCRT64 64.25% <71.42%> (+<0.01%) ⬆️
macOS 50.28% <33.33%> (-0.02%) ⬇️

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

Files with missing lines Coverage Δ
src/core/backend.hpp 82.35% <100.00%> (+0.35%) ⬆️
src/core/runtime.cpp 83.54% <100.00%> (+1.52%) ⬆️
src/platform/linux/uhid_backend.cpp 80.99% <81.25%> (-0.04%) ⬇️

... and 10 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 a0560b7...e49cbdb. Read the comment docs.

@ReenigneArcher
ReenigneArcher force-pushed the feat/freebsd branch 3 times, most recently from 7539287 to 4e147ed Compare August 14, 2026 01:55
Refactors CI into reusable workflow-call pipelines (`ci-driver`, `ci-build`, `ci-results`) and updates the top-level `ci.yml` to orchestrate release setup, Windows driver packaging/signing, cross-platform library builds (now including FreeBSD), and Codecov uploads.

Adds FreeBSD platform support details across build and runtime behavior: enables threaded use on FreeBSD, applies required Clang libc++ experimental flags, extends the Linux/uhid backend implementation to support FreeBSD uinput paths and platform-specific capability/effective-profile handling, and wires in new FreeBSD integration tests. Documentation is updated to describe FreeBSD’s uinput-based feature subset and integration expectations.
@sonarqubecloud

Copy link
Copy Markdown

@ReenigneArcher
ReenigneArcher marked this pull request as ready for review August 14, 2026 02:19
@ReenigneArcher
ReenigneArcher merged commit 605bf93 into master Aug 14, 2026
32 checks passed
@ReenigneArcher
ReenigneArcher deleted the feat/freebsd branch August 14, 2026 02:29
Sign up for free to 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