UMBRA-11: Add DeviceSpecs for the Pro Click line (7 PIDs) #19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/pro-click-line-devicespecs-UMBRA-11"
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-11: Add DeviceSpecs for the Pro Click line (7 PIDs)
Registers all seven Pro Click PIDs from OpenRazer's
razermouse_driver.h, each as its ownDeviceSpecfile undercrates/umbra-hid/src/models/and wired into theSUPPORTEDtable:Receiver decision (AC)
Both the Pro Click Receiver (0x0077) and the AA-powered Pro Click Mini Receiver (0x009A) are INCLUDED:
razer_mouse_proberegisters a control attribute set (poll rate, DPI, DPI stages, charge level/status, low-threshold, idle) against each dongle PID, so they enumerate as configurable endpoints umbra can talk to. This mirrors thenaga_v2_hyperspeedreceiver precedent from UMBRA-1.Feature derivation
Per-command transaction IDs, poll rates, lighting zones, effect kinds, and battery/idle support are read branch-by-branch off
razermouse_driver.c, not assumed. Every command class runs on txn0x1f, with one exception: the original Receiver / Wired PIDs put the idle attribute on a separate0xFFswitch arm.BatterySpecfollows charge level/status (0x1f) per thedeathadder_v2_pro_wiredprecedent, even though those two PIDs drive low-threshold on0xFF. All seven use the standardset_polling_ratepath, so poll rates are 125 / 500 / 1000 Hz.The productivity originals (Receiver, Wired, Mini) expose no onboard lighting, so lighting is
None. The V2 generation drives a single underglow matrix zone through therazer_chroma_extended_matrix_*path umbra builds, addressed asZERO_LEDon0x1f. The driver registers spectrum, wave, static and none effects for the V2; umbra ships no Wave builder, so onlyNone/Static/Spectrumare advertised, with the gap noted in the doc comments. The plain V2 PIDs also wire up tilt-wheel controls that umbra'sFeaturesstruct does not represent, also noted.DPI maxima are documented as sensor-derived assumptions in each file's doc comment: 16000 for the original Pro Click, 12000 for the Mini, 30000 for the V2 generation.
Tests / docs
every_pro_click_pid_is_registeredtest incrates/umbra-hid/tests/protocol.rscovers registration, the per-family txn splits, lighting zone/effects, battery/idle, and DPI assumptions.cargo build,cargo test --package umbra-hid --no-default-features(25 passed), andcargo fmt --checkpass clean; clippy reports no new warnings in the added files.#UMBRA-11
🤖 Generated with Claude Code