Go Down

Topic: Simulate Click Mouse with Button (Read 1 time) previous topic - next topic


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


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: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

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!

via Egeo 16
Torino, 10131