if(radio_data[APP_MOUSE_BUTTONS]==0x09) { } else if(radio_data[APP_MOUSE_BUTTONS]==0x0A) { }
how to modify the button to autoclicker? Thanks!
Post a more extensive problem description.
Have you built a mouse using a 8051? What interface?
A mouse that auto-clicks continuously would be unusable. So exactly when should the mouse auto-click?
It is a PS/2 interface mouse. when I left click it will do the autoclick, while i right click it will stop. Actually the left/right click i will use the buttons(SW1&SW2) on the other board (nRF24LU1 Basic feature board) to instead.
The wireless mouse can work. just need to modify the left and right click(0*09/0*0A)
What "autoclick"?
wireless mouse autoclicker
You still haven't explained what you mean by "autoclick" or "autoclicker" here.
What, exactly, is the functionality that you require?
If you can't clearly, precisely, and completely specify what you want an "autoclicker" to do - then you are abviously going to have trouble implementing it!
Once you have a clear, precise, and comple specification, you should find it easy to implement...
Maybe the simplest solution would be to put some acupuncture needles into your fingers.
Then, when you want autoclick, you put one finger on the mouse button and, with the other hand, gently flick the needles. That will make your finger automatically pulse the button.
Hey Sausage man,
You remember you admitted a while ago that you were once nicknamed "crazed"? Well, this is one of those moments... :-)
be the simplest solution would be to put some acupuncture needles into your fingers.
I would put the mouse under my foot ad make my leg shake (I guess we all know how to do that)
Re what is an 'autoclicker' since the OP does not see the need to answer, I recall a thread some time ago on the same subject where the purpose was to win some computer game by having a device that could do 3 rapid clicks.
Erik
You can create a simple mouse auto clicker but for that you need to have a basic understanding of doing coding.
Step 1:
Firstly you can create a simple form and declare a variable which will hold the cursor location:
//this will hold the location where to click Point clickLocation = new Point(0,0);
Step 2:
After that we would be needing the countdown timer
private void btnSetPoint_Click(object sender, EventArgs e) { timerPoint.Interval = 5000; timerPoint.Start(); }
Step 3:
We also create a timer to help us get the mouse location. We can get the mouse location from the Position property of the Cursor class.
private void timerPoint_Tick(object sender, EventArgs e){ clickLocation = Cursor.Position; //show the location on window title this.Text = "autoclicker " + clickLocation.ToString(); timerPoint.Stop();}
Step 4:
Now we have to declare the main interval
[DllImport("User32.dll", SetLastError = true)]public static extern int SendInput(int nInputs, ref INPUT pInputs, int cbSize);
Step 5:
To keep things simple, we will use only one INPUT structure. We will need to define this structure and some constants too:
//mouse event constantsconst int MOUSEEVENTF_LEFTDOWN = 2;const int MOUSEEVENTF_LEFTUP = 4;//input type constantconst int INPUT_MOUSE = 0;public struct MOUSEINPUT{ public int dx; public int dy; public int mouseData; public int dwFlags; public int time; public IntPtr dwExtraInfo;}public struct INPUT{ public uint type; public MOUSEINPUT mi;};
Each time our timer elapses, we want to click. We do it by moving the cursor to the memorized place, then setting up the INPUT structure and filling it with required values.
private void timer1_Tick(object sender, EventArgs e){ //set cursor position to memorized location Cursor.Position = clickLocation; //set up the INPUT struct and fill it for the mouse down INPUT i = new INPUT(); i.type = INPUT_MOUSE; i.mi.dx = 0; i.mi.dy = 0; i.mi.dwFlags = MOUSEEVENTF_LEFTDOWN; i.mi.dwExtraInfo = IntPtr.Zero; i.mi.mouseData = 0; i.mi.time = 0; //send the input SendInput(1, ref i, Marshal.SizeOf(i)); //set the INPUT for mouse up and send it i.mi.dwFlags = MOUSEEVENTF_LEFTUP; SendInput(1, ref i, Marshal.SizeOf(i));}
Step 6:
Finally - we can use a button to start/stop the autoclicking feature. Let's create a button with the following handler:
private void btnStart_Click(object sender, EventArgs e){ timer1.Interval = (int)numericUpDown1.Value; if (!timer1.Enabled) { timer1.Start(); this.Text = "autoclicker - started"; } else { timer1.Stop(); this.Text = "autoclicker - stopped"; }}
ELSE:I also suggest to look at the few free mouse auto clickers available for free online. I prefer Murgee auto clicker or you can choose the one as per your requirements. These are the few auto clickers available in the market see here >> www.clickspeedtester.com/auto-clicker
A software program or a tool used to automate mouse clicks.
For more click here
Hello,
Why do you want to code the autoclicker program?
There are already many autoclicker software available on the internet. They can complete your task easily.
I have the source code of autoclicker in Python, If you need it, then let me know.
Also, I am using this autoclicker for the last couple of years. It is totally easy to customize, Just put the values there, and all done.
I think this is something you are looking for.
https://autoclicker.io/
There are many software that support auto mouse clicks, if you want to consult and use them, you can see more:
https://thuvienthuthuat.net/top-phan-mem-auto-click-cho-android.htm
Thanks, I am looking for the same.