I'm new to C and have no idea where to start.
So I'm trying to make an autoclicker where when the 5th button on my mouse is pushed down, the program makes my mouse left click every 80 milliseconds.
While the 5th mouse button is being held down, the program clicks for 1 time per x millisecond(s).
I'm not sure but I think this has to do with the mouse_event function.
-------------------------------------------------------------
Code:
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
int main()
{
bool mb5 = '5th mouse button function'(true) ;
int ms;
printf("How fast would you like to click? (milliseconds): \n");
scanf("%i", &ms);
while(mb5 = true)
{
(LEFT CLICK);
delay(ms);
}
return 0;
}
----------------------------------------------------------
I bet there's a lot of mistakes with what I've jotted down. Anyways, I need a lot of help. I don't even know if my idea is possible in C programming but I'd like to try and make it work.
~Thanks!