Skip to content
Merged
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
2 changes: 2 additions & 0 deletions src/drivers/logitech/hidpp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const G403_HERO = 0xc08f;
const G703 = 0xc087;
const G502 = 0xc07d;
const G502_X_PLUS = 0xc095;
const G502_X_LIGHTSPEED = 0xc098;
const G502_X = 0xc099;
const LIGHTSPEED_RECEIVER = 0xc54d;
const SUPERSTRIKE_USB = 0xc0a8;
Expand All @@ -52,6 +53,7 @@ test("runtime probing alone classifies direct and receiver connections", () => {
test("the G502 family direct USB interfaces are recognized", () => {
assert.equal(isDirectConnectProduct(G502), true);
assert.equal(isDirectConnectProduct(G502_X_PLUS), true);
assert.equal(isDirectConnectProduct(G502_X_LIGHTSPEED), true);
assert.equal(isDirectConnectProduct(G502_X), true);
assert.equal(isDirectConnectProduct(LIGHTSPEED_RECEIVER), false);
});
Expand Down
3 changes: 2 additions & 1 deletion src/logitech/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export const BOLT_PAIRING_SLOTS = [0x01, 0x02, 0x03, 0x04, 0x05, 0x06] as const;
* - 0xc08e — G903 HERO (wired)
* - 0xc08f — G403 HERO (wired)
* - 0xc095 — G502 X PLUS (USB cable)
* - 0xc098 — G502 X LIGHTSPEED (USB cable, direct-connect mode)
* - 0xc099 — G502 X (wired)
*
* G Pro X Superlight generation:
Expand All @@ -61,7 +62,7 @@ export const LOGITECH_DIRECT_PRODUCT_IDS = [
// G Pro X Superlight generation
0xc094,
// G502 X generation
0xc095, 0xc099,
0xc095, 0xc098, 0xc099,
] as const;

/**
Expand Down