Go Down

Topic: Simulate Click Mouse with Button (Read 666 times) previous topic - next topic

dhanny

Hi, i can simulate the Left Click button from my Macbook with a one Button on my arduino?

johnwasser

It's fairly easy if your Arduino is a Leonardo model. See File->Examples->09.USB(Leonardo)->Mouse->ButtonMouseControl

For other models it's not so easy.  For the UNO and Mega models you can write new firmware into the small ATmega processor used as a USB-to-Serial adapter.  For other models you can use the V-USB code to bit-bang USB 1.1 with just a couple of resistors.

A third choice is to gut an old USB mouse and use the Arduino to bridge the pins for the click button.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy