hidpp20: allow setting a default report rate (#969)

In case we can't get the report rate value from the device, allow
setting in the device file.

Signed-off-by: Filipe Laíns <lains@archlinux.org>
This commit is contained in:
Filipe Laíns
2021-10-11 00:14:02 +01:00
committed by GitHub
parent 9732aa009e
commit e908871e82
4 changed files with 23 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ def check_section_hidpp10(section):
def check_section_hidpp20(section):
permitted = ['DeviceIndex', 'Leds', 'Quirk']
permitted = ['DeviceIndex', 'Leds', 'ReportRate', 'Quirk']
for key in section.keys():
assertIn(key, permitted)