device: consult polling rate feature for polling rate
This commit is contained in:
parent
15d383ad30
commit
42faf0c3a0
|
@ -275,7 +275,7 @@ class Device:
|
|||
def polling_rate(self):
|
||||
if not self._polling_rate:
|
||||
self.update_pairing_information()
|
||||
if not self._polling_rate and self.protocol >= 2.0:
|
||||
if self.protocol >= 2.0:
|
||||
rate = _hidpp20.get_polling_rate(self)
|
||||
self._polling_rate = rate if rate else self._polling_rate
|
||||
return self._polling_rate
|
||||
|
|
Loading…
Reference in New Issue