Solaar/lib/logitech_receiver
Alessio85 7d571d855f
device: Fix crash in NotificationFlag.flag_names when flags is None (#3185)
flag_names() crashes with AttributeError when NotificationFlag returns
a value whose .name attribute is None. This occurs with certain receiver
firmware versions (Nano C52F, Unifying C52B, Bolt C548).

Return an empty list instead, consistent with the List[str] return type.

Fixes #3184

Co-authored-by: avercelli <avercelli@vulog.com>
2026-04-13 12:46:43 -04:00
..
__init__.py Refactor: Distinguish module from package 2024-09-15 09:18:51 -04:00
base.py device: downgrade ping no such device to informational log entry 2026-02-26 08:46:22 -05:00
base_usb.py cli: allow to change LED settings 2025-12-21 18:03:53 -05:00
common.py Rewrote string concatenation/format with f strings 2025-01-29 08:40:14 -05:00
descriptors.py device: remove incorrect descriptor for WPID 4004 2026-03-13 16:21:51 -04:00
desktop_notifications.py testing: upgrade desktop notifications tests to take notifications availability into account 2025-01-02 10:47:53 -05:00
device.py device: don't use Logitech for codename 2026-03-19 11:27:26 -04:00
diversion.py rules: remove use of XTest and use uinput in all cases 2026-03-08 20:58:43 -04:00
exceptions.py Use double quotes for module level docstrings 2024-06-02 09:54:21 -04:00
hidpp10.py cli: Fix crash when showing notification flags. (#3070) 2025-12-12 04:54:10 -05:00
hidpp10_constants.py device: Fix crash in NotificationFlag.flag_names when flags is None (#3185) 2026-04-13 12:46:43 -04:00
hidpp20.py hidpp20: be defensive about no device features 2026-03-13 16:21:51 -04:00
hidpp20_constants.py device: Add PRO X 2 Superstrike mouse support with HITS tuning settings (#3132) 2026-04-12 09:53:47 -04:00
i18n.py Unify imports in logitech package 2024-05-23 16:42:18 -04:00
listener.py Rewrote string concatenation/format with f strings 2025-01-29 08:40:14 -05:00
notifications.py show better pairing errors (#3063) 2025-12-10 11:18:50 -05:00
receiver.py udev: correctly re-raise access exception 2025-10-17 19:41:23 -04:00
settings.py replace color picker (#3028) 2025-11-15 11:05:59 -05:00
settings_new.py settings: add setting for HAPTIC feature 2025-11-12 14:50:46 -05:00
settings_templates.py device: Add PRO X 2 Superstrike mouse support with HITS tuning settings (#3132) 2026-04-12 09:53:47 -04:00
settings_validator.py settings: add scroll ratchet force setting 2025-11-04 03:25:12 +09:00
special_keys.py device: add special keys from Logitech 2025-10-16 20:57:15 -04:00