Skip to content

fix(razer): correct DeathAdder V4 Pro polling and DPI ceilings - #40

Merged
snekxs merged 1 commit into
mainfrom
fix/deathadder-v4-pro-specs
Aug 30, 2026
Merged

fix(razer): correct DeathAdder V4 Pro polling and DPI ceilings#40
snekxs merged 1 commit into
mainfrom
fix/deathadder-v4-pro-specs

Conversation

@snekxs

@snekxs snekxs commented Aug 30, 2026

Copy link
Copy Markdown
Member

Cross-referenced against openrazer/openrazer#2508 (merged), which added DeathAdder V4 Pro support upstream:

  • Wired PID (0x00be) defaulted to MODERN_WIRED's usual 1000 Hz cap, but openrazer's POLL_RATES for both its wired and wireless classes go to 8000 Hz — gave it its own highRatePolling override, mirroring the Viper V3 Pro's wired/wireless split.
  • Both PIDs were reusing the shared 35K-generation DPI ceiling; openrazer documents this model's own DPI_MAX = 45000. Added a dedicated DPI_DEATHADDER_V4_PRO constant rather than reusing DPI_FOCUS_PRO_35K, which other 35K-sensor mice still correctly cap at.

Both PIDs stay nativeOnly: true — the control channel sits on a Chrome-protected collection (Chrome/WebHID's own restriction, not a hardware one, per this file's existing note), so these facts matter to a native-HID consumer like openmouse-desktop rather than the web app.

Full test suite passes (572/572), including the existing guard that caught the highRatePolling/pollingRates mismatch on the first pass.

Cross-referenced against openrazer/openrazer#2508 (merged), the PR that
added DeathAdder V4 Pro support to OpenRazer:

- The wired PID (0x00be) was defaulting to MODERN_WIRED's usual 1000 Hz cap,
  but openrazer's POLL_RATES for both its wired and wireless classes go to
  8000 Hz (a HyperPolling receiver ships in the box even for the cabled
  mode) — give it its own highRatePolling override, same pattern as the
  Viper V3 Pro's wired/wireless split.
- Both PIDs were using the shared 35K-generation DPI ceiling, but openrazer
  documents this model's own DPI_MAX = 45000 (and separately raised the
  driver's shared set-DPI clamp to accommodate it) — added a
  DPI_DEATHADDER_V4_PRO constant rather than reusing DPI_FOCUS_PRO_35K,
  which several unrelated 35K-sensor mice still correctly cap at.

Both PIDs stay nativeOnly: true — unchanged, and still correct per this
file's own note that the control channel sits on a Chrome-protected
collection (Chrome/WebHID's page-protection, not a hardware limitation), so
these facts only matter to a native-HID consumer like openmouse-desktop.

Full test suite passes (572/572), including the guard that already caught
the highRatePolling/pollingRates mismatch on first attempt.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@snekxs
snekxs merged commit 7bc2d78 into main Aug 30, 2026
2 checks passed
@snekxs
snekxs deleted the fix/deathadder-v4-pro-specs branch August 30, 2026 07:18
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.

1 participant