Skip to content

feat(8bitdo): check retro r8 firmware versions - #1681

Merged
onyxhq-dev merged 1 commit into
OpenMouse-Project:mainfrom
higorhgon:feat/8bitdo-r8-firmware-check
Dec 3, 2026
Merged

onyxhq-dev merged 1 commit into
OpenMouse-Project:mainfrom
higorhgon:feat/8bitdo-r8-firmware-check

Conversation

@higorhgon

@higorhgon higorhgon commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds check-only firmware entries for the 8BitDo Retro R8 Mouse, so the firmware card can say whether the mouse and its 2.4 GHz receiver are current instead of "Unknown". Same shape as the Finalmouse Starlight X entries: no in-app flashing; when a newer version is published the card links to 8BitDo's support page, where the vendor's Ultimate Software updates the mouse.

Entry firmwareName latestVersion
8bitdo-retro-r8-mouse Mouse 11.03
8bitdo-retro-r8-receiver Receiver 10.14

Both match by brand 8BitDo and name Retro R8, and compare against the elements the driver reports as ["Mouse 11.03", "Receiver 10.14"].

Where the versions come from

  • The driver reads them from the hardware: mouse 01 04 04 01 and receiver 06 02 03 01, major in payload byte 8 and minor in byte 14, as the vendor tool computes them.
  • 11.03 and 10.14 are the newest non-beta R8 mouse and receiver releases in 8BitDo's firmware catalog (the one its updater queries) on 2026-12-01, and they match what a current mouse reports.

Depends on

OpenMouse-Project/mouse-protocol#326, which adds the R8 driver and reports these firmware elements. Until @openmouse/protocol ships it, no device matches these entries, so this changes nothing for anyone; it does not touch any code path or type.

Testing

  • npm run check passes (build, bundle size, 731 of 731 tests), with the protocol build from mouse-protocol#326 installed locally.
  • A new test covers the entries: current versions are up to date, an older receiver reports an update under Receiver with the support link, and a device from another brand does not match.
  • On screen with the mouse connected, the card changed from "Unknown" to up to date (manifest served locally).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added firmware version checking for the 8BitDo Retro R8 mouse and receiver, including their latest listed versions.
    • When an update is needed, users can find guidance to update through 8BitDo Ultimate Software V2 and links to 8BitDo support. Updates are not performed within the app.

Note

Add 8BitDo Retro R8 Mouse and Receiver firmware checks

  • Adds firmware manifest entries for the 8BitDo Retro R8 Mouse (latest version 11.03, firmware type 84) and Retro R8 Receiver (latest version 10.14, firmware type 85), with support-site download URLs, in firmware-manifest.json and firmware-manifest.extra.json.
  • Both entries use a check-only update path, so versions are compared but no update is installed.
  • Adds tests in firmware-updates.test.ts covering matching versions, an outdated Receiver, and non-matching brands.

Macroscope summarized d7ffd23.

- add check-only mouse 11.03 and receiver 10.14 entries
- match the r8 by brand and name, linking to 8bitdo support
- cover the r8 entries in the firmware update tests
@github-actions github-actions Bot added the type: enhancement PR title category: enhancement label Dec 1, 2026
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The firmware manifests add optional, check-only entries for the 8BitDo Retro R8 mouse and receiver. Tests cover version matching, the receiver download URL, and a different-brand mismatch.

Changes: Retro R8 firmware checks

Layer / File(s) Summary
Add firmware entries and test matching
scripts/firmware-manifest.extra.json, public/firmware-manifest.json, src/device/firmware-updates.test.ts
The manifests add mouse firmware version 11.03 and receiver firmware version 10.14, with firmware types 84 and 85. Tests check current and behind versions, the receiver download URL, and a different-brand mismatch.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Feature

Suggested labels: area: devices, type: enhancement

Suggested reviewers: snekxs, macroscopeapp

Merge Risk: Minimal · up to d7ffd

This adds firmware version checks for the 8BitDo Retro R8 mouse and receiver, with a link to 8BitDo support. The entries stay inert until the upstream protocol package ships, and no other code paths change, so merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "feat(8bitdo): check retro r8 firmware versions" matches the main change. The PR adds check-only firmware manifest entries for the 8BitDo Retro R8 mouse (version 11.03) and its receiver (ver…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "feat(8bitdo): check retro r8 firmware versions" matches the main change. The PR adds check-only firmware manifest entries for the 8BitDo Retro R8 mouse (version 11.03) and its receiver (version 10.14), plus tests for them. The title names the brand, the device, and the firmware check. It uses a conventional commit prefix and is specific enough for a teammate scanning history.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between d81f493 and d7ffd23.

Files selected for processing: 3

  • public/firmware-manifest.json
  • scripts/firmware-manifest.extra.json
  • src/device/firmware-updates.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@github-actions github-actions Bot added the area: devices Device integration and HID support label Dec 1, 2026
@macroscopeapp

macroscopeapp Bot commented Dec 1, 2026

Copy link
Copy Markdown

Approvability

Verdict: Approved at d7ffd23

Macroscope's review found this PR approvable — Adds optional firmware-version checks for the Retro R8 mouse and receiver, with a link to official vendor support. The change only affects update information and does not flash devices automatically.

Notes:

  • Your repo's Minimum Blocking Severity is Off, so correctness findings do not automatically block approval.
  • No code objects were reviewed. Approvability was decided on eligibility alone.

You can add or adjust custom eligibility rules. Learn more.

@onyxhq-dev
onyxhq-dev merged commit 49234aa into OpenMouse-Project:main Dec 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: devices Device integration and HID support type: enhancement PR title category: enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants