Closed the-Jamz closed 4 years ago
Now it also detects a reconnected device and prints the port name it's automatically connecting to.
But I'm not fully happy with this yet. I would like the auto connect method to also provide the manual selection feature like I described in the issue https://github.com/SpacehuhnTech/Huhnitor/issues/2.
Auto means you either plug in a new port or select one manually.
Manual means you must select on manually and the plug in detection is disabled.
I think the only way to implement this properly is to start a thread that waits on user input and one that waits on new ports being connected. Which ever finishes first, decides the port, the other thread is killed.
Addresses issue #2