Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/lib/supported-mice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ export const SUPPORTED_BRANDS: SupportedBrand[] = [
brand: "Fantech",
models: [{ model: "WG14P Yari Pro Wireless 8K Gaming Mouse" }],
},
{
brand: "Lingbao",
models: [{ model: "M5 Pro (2.4G / wired)" }],
},
{
brand: "G-Wolves",
models: [{ model: "HTX Ultra (wired)" }, { model: "HTX Ultra (wireless)" }],
Expand Down
10 changes: 9 additions & 1 deletion src/native-hid/brands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { AttackSharkHidClient } from "@openmouse/protocol/drivers/attackshark/hi
import { EggOp1HidClient } from "@openmouse/protocol/drivers/endgame/egg-op1-hid";
import { EggWeHidClient } from "@openmouse/protocol/drivers/endgame/egg-we-hid";
import { FantechHidClient } from "@openmouse/protocol/drivers/fantech/hid";
import { LingbaoHidClient } from "@openmouse/protocol/drivers/lingbao/hid";
import { FinalmouseHidClient } from "@openmouse/protocol/drivers/finalmouse/hid";
import { GWolvesHidClient } from "@openmouse/protocol/drivers/gwolves/hid";
import { KeychronHidClient } from "@openmouse/protocol/drivers/keychron/hid";
Expand Down Expand Up @@ -150,7 +151,14 @@ export const BRAND_DRIVERS: BrandEntry[] = [
{ brand: "ATK", vendorIds: [0x373b], candidates: [client("AtkHidClient", AtkHidClient)] },
{ brand: "Attack Shark", vendorIds: [0x1d57, 0x25a7, 0x373e], candidates: [client("AttackSharkHidClient", AttackSharkHidClient)] },
{ brand: "Keychron", vendorIds: [0x3434], candidates: [client("KeychronHidClient", KeychronHidClient)] },
{ brand: "Fantech", vendorIds: [0x3151], candidates: [client("FantechHidClient", FantechHidClient)] },
// 0x3151 is the MicLink/mlzn ODM vendor id, shared by Lingbao and Fantech.
// Lingbao goes first: its M5 Pro needs a 2.4G relay handshake and a checksum
// FantechHidClient does not implement, and probeInterface() falls through to
// Fantech when LingbaoHidClient.readStatus() rejects.
{ brand: "Lingbao", vendorIds: [0x3151], candidates: [
client("LingbaoHidClient", LingbaoHidClient),
client("FantechHidClient", FantechHidClient),
] },
{ brand: "Wooting", vendorIds: [0x31e3], candidates: [client("WootingHidClient", WootingHidClient)] },
{ brand: "WALLHACK", vendorIds: [0x3879, 0x1caa], candidates: [
client("WallhackMouseHidClient", WallhackMouseHidClient),
Expand Down
5 changes: 5 additions & 0 deletions src/pages/OverviewPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ const BRAND_FEATURES: Record<string, { icon: typeof Gauge; label: string }[]> =
{ icon: Gauge, label: "DPI" },
{ icon: Zap, label: "Polling Rate" },
],
Lingbao: [
{ icon: Gauge, label: "DPI" },
{ icon: Zap, label: "Polling Rate" },
{ icon: Battery, label: "Battery" },
],
Keychron: [
{ icon: Gauge, label: "DPI" },
{ icon: Zap, label: "Polling Rate" },
Expand Down