generated from thinkode/modelRepository
Correct peripheral arrival/removal #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.