forked from drath/libratbag
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user