Auto Clicker

This is a simple console-based auto clicker, that allows the user to set the time between clicks.

The auto clicker works by taking in a between click duration, finding the position of the mouse cursor, sending the mouse events MOUSEEVENTF_LEFTDOWN and then MOUSEEVENTF_LEFTUP, and then sleeping for the given between click duration. The listed mouse events simulate the left mouse button being pressed and then released.

I made this as I wanted an auto clicker to use, but didn't trust or want to use the ad filled ones you find online, plus they're really easy to make.