settings: don't check for mouse kind in dpi sliding setting

This commit is contained in:
Peter F. Patel-Schneider 2022-02-14 12:01:14 -05:00
parent 55be7a67c8
commit c75aaea89d
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ class DpiSliding(_Setting):
def build(cls, setting_class, device):
# need _F.REPROG_CONTROLS_V4 feature and a DPI Switch that can send raw XY
# and _F.ADJUSTABLE_DPI so that the DPI can be adjusted
if device.kind == _DK.mouse and _F.ADJUSTABLE_DPI in device.features:
if _F.ADJUSTABLE_DPI in device.features:
keys = []
for key in cls.sliding_keys:
key_index = device.keys.index(key)