Correct peripheral arrival/removal #20

Closed
opened 2025-01-18 14:53:02 +00:00 by thinkode · 0 comments
Owner

We check every 5 seconds the new and old peripherals connected to the system. But when a new one is connected, Windows updates its internal list. During this time, all peripherals can't be retrieved by DMXConnect, so the connected peripherals are removed temporarily.
To fix this, it is important to check the peripherals just after Windows had updated the list, so on the DEVICE_CHANGE event.
But for me creating a virtual hidden window in Windows to get this event is not reliable and too complex.

We check every 5 seconds the new and old peripherals connected to the system. But when a new one is connected, Windows updates its internal list. During this time, all peripherals can't be retrieved by DMXConnect, so the connected peripherals are removed temporarily. To fix this, it is important to check the peripherals just after Windows had updated the list, so on the DEVICE_CHANGE event. But for me creating a virtual hidden window in Windows to get this event is not reliable and too complex.
thinkode added this to the v0.1.0 milestone 2025-01-18 14:53:02 +00:00
thinkode added the Bug label 2025-01-18 14:53:02 +00:00
Sign in to join this conversation.