mirror of
https://github.com/librekeys/picoforge.git
synced 2026-07-28 08:01:19 -07:00
A ~1s background watcher on DeviceRepo samples a cheap FIDO HID presence fingerprint (vid:pid:serial, by enumeration only — it never opens the device, so it can't contend with an in-flight read or write) and triggers a refresh whenever the key is plugged, unplugged or swapped. Every screen then reflects the current device without the manual Refresh button. The watcher skips a tick while a refresh/write is in flight and stops cleanly when the repo is dropped.