Skip to content

feat(hid): support G602 nano receiver - #684

Open
Stanley5249 wants to merge 3 commits into
AprilNEA:masterfrom
Stanley5249:feat/g602-receiver
Open

feat(hid): support G602 nano receiver#684
Stanley5249 wants to merge 3 commits into
AprilNEA:masterfrom
Stanley5249:feat/g602-receiver

Conversation

@Stanley5249

Copy link
Copy Markdown
Contributor

Summary

Add initial support for the G602's 046d:c537 Nano receiver.

Changes

  • openlogi-core / openlogi-hidpp: recognize c537 through the existing Unifying-compatible receiver path
  • openlogi-hid: fix a Windows rustdoc link exposed by the local gate

Testing

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace
  • RUSTDOCFLAGS="-D warnings" cargo doc -p openlogi-hid -p openlogi-hidpp -p openlogi-hidpp-derive --no-deps --document-private-items
  • Not runtime-tested on G602 hardware

Fixes #448

@Stanley5249
Stanley5249 requested a review from AprilNEA as a code owner August 19, 2026 16:10
@greptile-apps

greptile-apps Bot commented Aug 19, 2026

Copy link
Copy Markdown

Greptile Summary

The PR adds the G602 Nano receiver (046d:c537) to the existing Unifying-compatible receiver path and corrects a Windows rustdoc link.

  • Recognizes c537 during receiver classification and route construction.
  • Allows HID++ receiver detection to instantiate the Unifying implementation for 046d:c537.
  • Updates the transport documentation link to resolve correctly under the Windows documentation gate.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
crates/openlogi-core/src/hid/route.rs Adds 0xc537 to the centralized Unifying-compatible PID set, consistently affecting classification, routing, display naming, pairing-family selection, and receiver child-node filtering.
crates/openlogi-hid/src/transport.rs Corrects an intra-doc link without changing runtime transport behavior.
crates/openlogi-hidpp/src/receiver/unifying.rs Adds 046d:c537 to the VID/PID allowlist used to detect and construct Unifying-compatible receivers.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart LR
    USB["USB receiver 046d:c537"] --> Classify["Receiver PID classification"]
    Classify --> Route["DeviceRoute::Unifying"]
    Classify --> Detect["HID++ Unifying receiver detection"]
    Detect --> Inventory["Receiver and paired-device inventory"]
    Route --> Control["Paired-device HID++ control"]
Loading

Reviews (2): Last reviewed commit: "Merge branch 'master' into feat/g602-rec..." | Re-trigger Greptile

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.

[Device]: G602 Wireless Gaming Mouse

1 participant