UMBRA-8: Add DeviceSpecs for the Lancehead line (5 PIDs) #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/lancehead-line-devicespecs-UMBRA-8"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
UMBRA-8: Add DeviceSpecs for the Lancehead line (5 PIDs)
Registers the five Lancehead PIDs from OpenRazer's
razermouse_driver.h, each as its ownDeviceSpecundercrates/umbra-hid/src/models/and wired into theSUPPORTEDtable.lancehead_wired.rslancehead_wireless.rslancehead_te_wired.rslancehead_wireless_2018_receiver.rslancehead_wireless_2018_wired.rsWhat was read off the driver (not assumed)
Per-command transaction IDs were ported branch-by-branch from
razermouse_driver.cand the attribute wiring inrazer_mouse_probe:0x3fpath, with the full effect set minus Wave (umbra ships no Wave builder, per themamba_eliteprecedent).0xFF, but umbra models a single DPI txn and carries the set-dpi value (0x3f), matching thedeathadder_v2_proprecedent.0x3f; the 2018 Wireless pair (0x006F/0x0070) moved that command class onto0x1f. All four battery-carrying PIDs run idle on0xFF. (The low-battery-threshold sub-command is0xFFin the driver, which the singleBatterySpectxn does not model, also per thedeathadder_v2_proprecedent.)batteryandidleareNone.DPI maxima are documented as sensor-derived assumptions (16,000 for the 5G / 5G-optical sensors across the line); the driver does not clamp DPI.
Coverage
every_lancehead_line_pid_is_registeredtest incrates/umbra-hid/tests/protocol.rscovers registration, the shared-0x3fcommand path, the four-zone lighting layout, the TE's no-battery/no-idle shape, and the per-generation battery txn split.cargo fmt --check,cargo build --workspace --all-targets, andcargo test --package umbra-hid --no-default-featuresall pass clean. The new Lancehead files produce no clippy warnings. (Clippy--deny warningsflags three pre-existingdoc_lazy_continuationwarnings in unrelatedbasilisk_*files; those are present onmainand out of scope for this issue.)Closes work toward UMBRA-8.