diff --git a/package-lock.json b/package-lock.json index 99fdcd8f..4c9611a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -481,7 +481,7 @@ }, "node_modules/@openmouse/protocol": { "version": "0.1.0", - "resolved": "git+ssh://git@github.com/OpenMouse-Project/mouse-protocol.git#c46377634bb9a6294a101bb5b799d7737e5b8c40", + "resolved": "git+ssh://git@github.com/OpenMouse-Project/mouse-protocol.git#eb9de5d9574b626fbb40a445edeb4aeafbdfe2bf", "engines": { "node": ">=20" } diff --git a/src/app/cards/AdvancedCards.tsx b/src/app/cards/AdvancedCards.tsx index 53ed9345..e201ada9 100644 --- a/src/app/cards/AdvancedCards.tsx +++ b/src/app/cards/AdvancedCards.tsx @@ -20,6 +20,7 @@ import { import { teevolutionSensorModeUi } from "@openmouse/protocol/teevolution"; import * as control from "../../device/controller"; import { PULSAR_SLEEP_OPTIONS } from "../../device/controller"; +import { isPulsarProProtocol } from "../../device/traits"; import { selectableValues, sleepLabel, sleepParts, sleepTotalSeconds, KEYCHRON_SLEEP_MAX_HOURS, KEYCHRON_SLEEP_MAX_SECONDS, KEYCHRON_SLEEP_MIN_SECONDS } from "../../device/options"; import type { ControlSnapshot } from "../../device/types"; import { Collapsible, Segmented, SwitchRow } from "../ui"; @@ -271,6 +272,11 @@ export function ProcessingCard({ snapshot }: { snapshot: ControlSnapshot }): Rea : status.brand === "Teevolution" ? "Highest performance" : "Performance mode"; const angleSnappingLabel = status.ui?.family === "atk" ? "Straight-line correction" : "Angle snapping"; + // WLMouse calls the same sensor setting High-speed mode in its own tool. + const hyperLabel = status.brand === "WLMouse" ? "High-speed mode" : "Hyper mode"; + // Pulsar Pro shows the angle with the rest of its Pro-only settings. + const angleTuning = isPulsarProProtocol(status) ? null : status.angleTuning; + return (

SENSOR

Processing

@@ -329,11 +335,26 @@ export function ProcessingCard({ snapshot }: { snapshot: ControlSnapshot }): Rea />