Alright, I'm completely new to this (first post too!)
I was wondering if it would be possible to get the Arduino Uno to output through USB, and be read as a computer mouse.
And on that note, what is the output format of the computer mouse? Does anyone know of any resources where I might be able to learn more about the mouse interface?
My concept is to have a joystick that connects to the arduino, and then to have the arduino output through USB to the computer. I would assume that a mouse has 2 analog outputs typically for x-y positioning, and this is the tricky part - getting the computer to read the arduino's output as a mouse.
Anyone have any thoughts? While I am new to arduino, I have a bit of experience in mechatronics, and programming, so I can probably piece together any technical discussion.
to get the Arduino Uno to output through USB, and be read as a computer mouse.
It is tricky. You have to make the arduino's USB port look like a USB HID (Human Interface Device). This involves abandoning the built in USB connector and going for a USB shield but don't go for the host shield that is not what you want.
Look here:-
I was wondering if it would be possible to get the Arduino Uno to output through USB, and be read as a computer mouse.
Yes it's possible. It involves reprogramming of the ATmega8U2 chip (which is the replacement to the FTDI chip on the Duemilanove and previous boards).
If you search the forums, it has already been done as a joystick.
This involves abandoning the built in USB connector