How to read the connected USB Mouse data via "Sketch"?

The Arduino Yun is a nice project, because of integrated Ethernet + USB Host.

I'm using USB Mouse + USB Keyboard a lot, but for the old Arduino Boards you need a USB Shiled... and if you need Internet, also an Ethernet shield.

So, I was hoping now I need only the Arduino Yun, and no more the USB and Ethernet Shields.

But... it seems that simple USB devices the Adruino Yun can not handle and read the data via sketch ( I know to install python, and other stuff, but this is not "out of the box").

... so, it would be nice for a Yun Image upgrade, to support access for USB Mouse + Keyboard via an Arduino "sketch".

(UDP Server/Client would be also nice :slight_smile:

Thanks.

Re: Using USB Keyboard

http://forum.arduino.cc/index.php?topic=207069.msg1533511#msg1533511

USB keyboard support should be fixed in the latest image

http://forum.arduino.cc/index.php?topic=207069.msg1693369#msg1693369

Make USB Keyboard works with Arduino, by combine both code.

http://forum.arduino.cc/index.php?topic=207069.msg1641678#msg1641678

Thanks, I've seen it before I've made this post, but this is a difficult phyton solution, not an easy out-of-the-box sketch solution :slight_smile:

And I don't know if the USB Mouse is also working.

Evil mouse prank with Arduino Yun

http://forum.arduino.cc/index.php?topic=228815.msg1652583#msg1652583

DreiMalNull:
Thanks, I've seen it before I've made this post, but this is a difficult phyton solution, not an easy out-of-the-box sketch solution :slight_smile:

And I don't know if the USB Mouse is also working.

The USB part of the Yun is physically only connected to the Linux part, so you can't use any USB connected device on the Yun in a sketch (directly).

Ralf

PCWorxLA:

DreiMalNull:
Thanks, I've seen it before I've made this post, but this is a difficult phyton solution, not an easy out-of-the-box sketch solution :slight_smile:

And I don't know if the USB Mouse is also working.

The USB part of the Yun is physically only connected to the Linux part, so you can't use any USB connected device on the Yun in a sketch (directly).

Ralf

Thanks, but I know this. But maybe, ... in the future ... a new Image can handle this.

Oha, I've seen the nice "Udoo" Board with Arduino, Linux and Android in it.

There you have the same problem with the USB Ports, ... but you can store the whole "System Image on a Micro SDCard", so you can give it to other users very easily (no Sketch upload, no python script handling, no configuration).

This is also the big thing with the Raspberry Pi.

I will give it a try.