I just made the mistake of deciding to create a "simple" desktop program in C++... I doubt even ChatGPT could brute force through the issues I've had along the way :s
It is one bad decision after another but kind of interesting at the same time - I decided to implement DIY UPS control via a DigiSpark ATTiny85 board, which while it has a Serial over USB implementation doesn't work under Windows 10 or newer, but it can be made to look like a HID Joystick device, which using raw input can be interfaced with in the background by misusing the inputs as data streams... with the program implementing a shell notification icon to show current battery levels, etc. enable the selecting and configuring of the device and implement low battery behaviours such as shutting down the system...
I'd forgotten even simple things like getting a millisecond value in C++ is a headache... never mind raw input - even leaning heavily on someone else's code for that bit it is an absolute mess.