From 0446c93f27de9014163d347368d3e94ef8c9aaa6 Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Wed, 3 Dec 2025 13:01:31 -0500 Subject: [PATCH] device: permit onboard profiles data version 5 --- lib/logitech_receiver/hidpp20.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logitech_receiver/hidpp20.py b/lib/logitech_receiver/hidpp20.py index 038ea094..05295846 100644 --- a/lib/logitech_receiver/hidpp20.py +++ b/lib/logitech_receiver/hidpp20.py @@ -1450,7 +1450,7 @@ class OnboardProfiles: device.ping() response = device.feature_request(SupportedFeature.ONBOARD_PROFILES, 0x00) memory, profile, _macro = struct.unpack("!BBB", response[0:3]) - if memory != 0x01 or profile > 0x04: + if memory != 0x01 or profile > 0x05: return count, oob, buttons, sectors, size, shift = struct.unpack("!BBBBHB", response[3:10]) gbuttons = buttons if (shift & 0x3 == 0x2) else 0