Solaar/tests/logitech_receiver
Daniel Banariba bd9f11b12e receiver: record passkey entry progress from the receiver
The receiver already sends a PASSKEY_PRESSED notification for every accepted
key or button press during pairing, but the handler discarded all of them.

Count them instead: address 0x00 marks the start of entry, 0x01 one accepted
press, and 0x04 the terminator. Any other address is left alone, since the
rest of that address space is undocumented and a miscounted press is worse
than no count at all.

The notification carries no indication of which button was pressed, so only
the number of accepted presses can be derived from it.

Deliberately does not call receiver.changed(): that path drives the tray, the
main window and desktop notifications, and would fire once per press.
2026-08-13 16:42:25 -06:00
..
__init__.py
fake_hidpp.py
test_base.py
test_base_usb.py
test_common.py
test_desktop_notifications.py tests: mock the libnotify backend so the suite raises no real notifications 2026-05-21 10:15:12 -04:00
test_device.py Fix crash on exit from device cleanup during interpreter shutdown 2026-07-31 16:36:04 -04:00
test_diversion.py
test_hidpp10.py
test_hidpp20_complex.py
test_hidpp20_simple.py
test_notifications.py receiver: record passkey entry progress from the receiver 2026-08-13 16:42:25 -06:00
test_receiver.py receiver: close paired devices before dropping the handle 2026-07-31 16:30:39 -04:00
test_rgb_power.py Fix crash on exit from device cleanup during interpreter shutdown 2026-07-31 16:36:04 -04:00
test_setting_templates.py headset RGB: regression tests for _HeadsetOnboardEffect color seeding 2026-05-21 10:13:00 -04:00
test_settings_validator.py