diff --git a/lib/logitech_receiver/settings_templates.py b/lib/logitech_receiver/settings_templates.py index f2f67f4c..8dbafa24 100644 --- a/lib/logitech_receiver/settings_templates.py +++ b/lib/logitech_receiver/settings_templates.py @@ -808,7 +808,7 @@ class MouseGesture(_Setting): @classmethod def build(cls, setting_class, device): - if True: # was device.kind == _DK.mouse + if device.keys: # ensure that the device has a keys array keys = [] for key in cls.MouseGestureKeys: key_index = device.keys.index(key)