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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| fake_hidpp.py | ||
| test_base.py | ||
| test_base_usb.py | ||
| test_common.py | ||
| test_desktop_notifications.py | ||
| test_device.py | ||
| test_diversion.py | ||
| test_hidpp10.py | ||
| test_hidpp20_complex.py | ||
| test_hidpp20_simple.py | ||
| test_notifications.py | ||
| test_receiver.py | ||
| test_setting_templates.py | ||
| test_settings_validator.py | ||