tuhi/tuhi
Peter Hutterer caa52e0c51 base: when search is turned off, remove unregistered devices again
This is what the dbusserver module does as well, so we end up with a weird
mismatch: to the base module the device is still known and unregistered on the
next search start. So when we see the bluez properties float past, we don't
add a new devices.

To the dbusserver the device is gone though and since we don't add it again in
the base module, we never send a signal for it.

Since there's a reasonable assumption that if we don't register the device, we
don't want it anyway, let's delete it from the base device list too.

This doesn't fix the issue of a device timing out while waiting for a button
press. That device will count as known until the next search stop. But at
least now we don't have to restart tuhi.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2019-07-08 10:52:39 +02:00
..
__init__.py __init__: remove empty line that snuck in during rebasing 2018-01-24 21:39:56 +10:00
base.py base: when search is turned off, remove unregistered devices again 2019-07-08 10:52:39 +02:00
ble.py ble: prefix all device logs with address 2019-06-07 08:34:07 +10:00
config.py config: store the protocol used by the device in the config file 2018-02-09 13:31:11 +10:00
dbusserver.py dbus: add file format version negotiation for the JSON data 2018-02-19 11:17:18 +10:00
drawing.py drawing: fix deprecation warning 2019-06-07 15:35:59 +10:00
uhid.py wacom: create a uhid device on live mode 2018-02-14 06:23:25 +10:00
wacom.py wacom: fix type error when registering a Intuos Pro paper 2019-07-08 10:52:39 +02:00