Solaar/lib/logitech_receiver
Ken Sanislo ca96656871 Use ConnectionStateChangedEvent for headset online/offline detection
Replace ad-hoc heuristics with proper bridge event function dispatch:
- Function 0 (ConnectionStateChangedEvent): parse sub-device list length
  to determine connect (len>0) vs disconnect (len=0)
- Function 1 (MessageEvent): fallback online detection if headset sends
  a message while marked offline (handles cold-start power-on)

Remove CPL sub_id>=0x80 fallback in listener that misidentified HID++
error replies as disconnect events. Skip HID++ 1.0
set_configuration_pending_flags for CenturionReceiver (not supported).

Also adds OnboardEQ (0x0636) support, bridge multi-fragment sends,
bridge-based headset ping probe, and CLI offline display.
2026-04-12 14:51:54 -07:00
..
__init__.py Refactor: Distinguish module from package 2024-09-15 09:18:51 -04:00
base.py Remove static PRO X 2 descriptor; fully probe Centurion devices at runtime 2026-04-12 14:51:54 -07: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 Remove static PRO X 2 descriptor; fully probe Centurion devices at runtime 2026-04-12 14:51:54 -07: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 Use ConnectionStateChangedEvent for headset online/offline detection 2026-04-12 14:51:54 -07: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 hidpp: fix bug when showing device notification flags 2026-03-19 11:27:26 -04:00
hidpp20.py Use ConnectionStateChangedEvent for headset online/offline detection 2026-04-12 14:51:54 -07:00
hidpp20_constants.py Display Centurion dongle as receiver with headset as child device 2026-04-12 14:51:54 -07:00
i18n.py Unify imports in logitech package 2024-05-23 16:42:18 -04:00
listener.py Use ConnectionStateChangedEvent for headset online/offline detection 2026-04-12 14:51:54 -07:00
notifications.py Display Centurion dongle as receiver with headset as child device 2026-04-12 14:51:54 -07:00
receiver.py udev: correctly re-raise access exception 2025-10-17 19:41:23 -04:00
settings.py Remove static PRO X 2 descriptor; fully probe Centurion devices at runtime 2026-04-12 14:51:54 -07:00
settings_new.py settings: add setting for HAPTIC feature 2025-11-12 14:50:46 -05:00
settings_templates.py Use ConnectionStateChangedEvent for headset online/offline detection 2026-04-12 14:51:54 -07:00
settings_validator.py Fix headset setting validators and code formatting 2026-04-12 14:51:54 -07:00
special_keys.py device: add special keys from Logitech 2025-10-16 20:57:15 -04:00