diff --git a/src/razer/devices.ts b/src/razer/devices.ts index 1beea44..4743879 100644 --- a/src/razer/devices.ts +++ b/src/razer/devices.ts @@ -244,6 +244,11 @@ const DPI_CHROMA = 16_000; const DPI_FOCUS = 20_000; const DPI_FOCUS_PRO = 30_000; const DPI_FOCUS_PRO_35K = 35_000; +// DeathAdder V4 Pro only. OpenRazer PR #2508 documents this model's own +// `DPI_MAX = 45000` (and raised the shared set-DPI clamp to match) — a higher +// ceiling than the rest of the 35K-sensor generation above, so it gets its +// own constant rather than reusing DPI_FOCUS_PRO_35K. +const DPI_DEATHADDER_V4_PRO = 45_000; /** * Chroma-era and older wired mice. OpenRazer's `standard` group answers on the @@ -612,8 +617,12 @@ const PRODUCT_DEFINITIONS: ReadonlyArray<[number, Omit