Solaar/tests/logitech_receiver
Ken Sanislo 65df109e92 Add RGB lighting persistence via SW control claim for G515/G502
When Solaar claims LED control, properly disable firmware power management
via ProfileManagement or OnboardProfiles and claim the LED pipeline with
SetSWControl(mode=3, flags=5). This prevents the device from reverting
colors to its onboard profile after a few seconds.

Adds cleanup handler to restore firmware control on device close, and
auto-claims SW control when writing per-key lighting colors. Adds
PROFILE_MANAGEMENT (0x8101) feature constant.
2026-05-09 18:45:37 -07:00
..
__init__.py tests: Add tests of common module 2024-02-18 06:10:53 -05:00
fake_hidpp.py Add RGB lighting persistence via SW control claim for G515/G502 2026-05-09 18:45:37 -07:00
test_base.py device: Treat empty hidraw read as device removal (EOF) (#3174) 2026-04-14 11:56:01 -04:00
test_base_usb.py Speedup lookup of known receivers 2025-01-01 11:33:07 -05:00
test_common.py refactor: use IntEnum for firmware and cidgroup constances 2024-10-23 16:25:35 -04:00
test_desktop_notifications.py testing: upgrade desktop notifications tests to take notifications availability into account 2025-01-02 10:47:53 -05:00
test_device.py centurion: support PRO X 2 LIGHTSPEED headphones Centurion features (#3150) 2026-04-14 11:43:23 -04:00
test_diversion.py Refactor: Introduce Feature enum 2024-10-14 07:28:09 -04:00
test_hidpp10.py device: Handle composite IntFlag.name on Python < 3.11 (#3187) 2026-04-16 11:38:25 -04:00
test_hidpp20_complex.py centurion: support PRO X 2 LIGHTSPEED headphones Centurion features (#3150) 2026-04-14 11:43:23 -04:00
test_hidpp20_simple.py Estimate accurate battery level for some rechargable devices (#2745) 2025-01-02 10:58:07 -05:00
test_notifications.py show better pairing errors (#3063) 2025-12-10 11:18:50 -05:00
test_receiver.py device: Support per-slot unpair on Lightspeed receivers (CLI + GUI) (#3183) 2026-04-17 09:34:58 -04:00
test_setting_templates.py Add RGB lighting persistence via SW control claim for G515/G502 2026-05-09 18:45:37 -07:00
test_settings_validator.py Split up huge settings module 2025-01-01 10:46:04 -05:00