HID Driver
Yann Droneaud
ydroneaud at opteya.com
Fri Mar 15 10:58:19 EDT 2019
Hi,
Le vendredi 15 mars 2019 à 18:23 +0530, Pratyush Das a écrit :
>
> I want the device operated by the Arduino Uno board to be recognised
> as a mouse by my Linux OS. To control the cursor I am using the X11
> API.
>
Arduino Uno is not the best Arduino board for the task. It's achievable
out of the box with Leonardo, Micro, Due, Zero and Esplora[1]. It
requires a hack on Arduino Uno (replacing the firmware of the AVR µC
used as the USB to serial converter).
The relevant Arduino library is <Mouse.h>[2].
On Linux side there's nothing to do on a fairly modern desktop system.
[1] https://www.arduino.cc/en/Reference/Libraries
[2] https://www.arduino.cc/reference/en/language/functions/usb/mouse/
Regards.
--
Yann Droneaud
OPTEYA
More information about the Kernelnewbies
mailing list