Solaar/tests
Ken Sanislo 3b76be9abb Leave lighting alone on connect when LED control is off
Connect-time apply pushed persisted zone effects and the LED-control
release write even when the user had LED control switched off — with
the G560 (0x8070) accepting zone writes without a SW-control claim,
Solaar repainted lighting it didn't own on every startup, stomping the
device's onboard effect or any other controller (e.g. OpenRGB).

Off now doubles as "leave the lighting alone": LEDControl.apply skips
the wire entirely unless the persisted value is an explicit claim, and
zone-effect applies follow their control gate (led_control for 0x8070,
rgb_control for 0x8071 — the same gate PerKeyLighting already
enforces).  When the gate is on, the claim itself repaints the saved
zone effects, matching the RGBControl claim flow.
2026-07-16 23:07:58 -07:00
..
hid_parser Introduce hid_parser tests 2024-09-15 09:19:13 -04:00
hidapi hidapi: Explicitly load hidapi/udev implementation 2024-10-11 07:42:38 -04:00
logitech_receiver Leave lighting alone on connect when LED control is off 2026-07-16 23:07:58 -07:00
solaar tests: mock the libnotify backend so the suite raises no real notifications 2026-05-21 10:15:12 -04:00
test_keysyms keysyms: Introduce tests for this package 2024-10-11 07:42:38 -04:00
__init__.py tests: Introduce tests with pytest 2024-02-10 13:58:20 -05:00
conftest.py tests: mock the libnotify backend so the suite raises no real notifications 2026-05-21 10:15:12 -04:00