Clearing _DEVICES
#3
Correct, you're seeing the _DEVICE$ change from having [DISCONNECTED] when the device is unplugged to having that string removed when plugged back in. I was wondering if you could have the device disappear from the list completely when disconnected. The only way to to this now is to end the program and restart.

In effect what I would like to do is have _DEVICES clear the list each time it is called and redetect ONLY currently connected controllers while the program is running, refreshing the list.
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply


Messages In This Thread
Clearing _DEVICES - by TerryRitchie - 05-14-2023, 05:12 AM
RE: Clearing _DEVICES - by madscijr - 05-18-2023, 08:36 PM
RE: Clearing _DEVICES - by TerryRitchie - 05-19-2023, 12:31 AM
RE: Clearing _DEVICES - by Ultraman - 05-19-2023, 11:03 AM
RE: Clearing _DEVICES - by TerryRitchie - 05-19-2023, 02:51 PM
RE: Clearing _DEVICES - by TempodiBasic - 05-24-2023, 07:36 AM
RE: Clearing _DEVICES - by Ultraman - 05-24-2023, 12:01 PM
RE: Clearing _DEVICES - by TempodiBasic - 05-25-2023, 02:47 PM



Users browsing this thread: 2 Guest(s)