UMBRA-10: Add DeviceSpecs for the Orochi line (5 PIDs) #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/orochi-line-devicespecs-UMBRA-10"
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-10: Add DeviceSpecs for the Orochi line (5 PIDs)
Registers all five Orochi PIDs from OpenRazer's
razermouse_driver.h, each as its ownDeviceSpecundercrates/umbra-hid/src/models/and wired into theSUPPORTEDtable.Per-command transaction IDs (read branch-by-branch off
razermouse_driver.c, not assumed)set_orochi2011_poll_dpicommand umbra has no builder for, so both areNone. Its firmware and serial are hard-coded in the driver (no command issued); 0xFF is recorded as the legacy-line default.set_led_statepath and the Chroma uses the standard-matrix (class 0x03) backlight path, none of which umbra builds (thediamondback_chroma/naga_chromaprecedent).device_idle_time(0xFF) but nocharge_level/charge_status, so it carries idle without battery.atherissplit-idle-txn precedent).Decision record (AC): Orochi V2 Bluetooth PID 0x0095
INCLUDED. Every
case USB_DEVICE_ID_RAZER_OROCHI_V2_RECEIVERinrazermouse_driver.cis immediately followed by a fall-throughcase USB_DEVICE_ID_RAZER_OROCHI_V2_BLUETOOTH, andrazer_mouse_proberegisters the identical control attribute set (DPI, DPI stages, polling, charge level/status, low-threshold, idle), reached over the standard HID feature-report surface umbra uses. The Bluetooth spec therefore mirrors the receiver field-for-field.DPI maxima
Documented in each file's doc comment as sensor-derived assumptions (6400 laser for the 2013, 8200 laser for the Chroma, 18000 optical for the V2); the driver does not clamp DPI.
Verification
cargo fmt --check: clean.cargo clippy --package umbra-hid --no-default-features --all-targets: clean for the new files (the 3 pre-existingdoc_lazy_continuationwarnings inbasilisk_x_hyperspeed.rsare untouched).cargo test --package umbra-hid --no-default-features: 25 passed, including the newevery_orochi_line_pid_is_registeredtest covering registration plus the per-model dpi/poll/lighting/battery/idle and txn splits.cargo build --package umbra-hid: clean.#UMBRA-10