Update hidpp20.py

We probably should add a comment here so this makes sense later on. Otherwise, this looks good.
This commit is contained in:
Ken Sanislo 2026-04-22 17:05:43 -07:00 committed by Ken Sanislo
parent f1864fd211
commit f6a6315a7d
1 changed files with 1 additions and 0 deletions

View File

@ -301,6 +301,7 @@ class FeaturesArray(dict):
feature = self.inverse.get(index)
if feature is not None:
return feature
# Sub-device index; bridge unwrap offsets by 0x100 (see listener).
if index >= 0x100:
return self.sub_inverse.get(index - 0x100)
elif self._check():