I'm trying to get the key being pressed in order to start an algorithm and afterwards move the mouse on the screen and perform some clicks. How can I achieve this when the console is in the taskbar ?
I tried _getch() but it doesn't work while the console is minimised.
I tried searching on google but found nothing.