I've gone through Martijn The's process of reading x/y data from an optical mouse,
martijnthe.nl/2009/07/interfacing-an-optical-mouse-sensor-to-your-arduino/
and have been going through forums and posts and have seen a few questions regarding using the same process to feed data into the mouse (or other mouse).
Going through the datasheet for the optical sensor, that SDIO pin is only available as a read value, no write ability. But writing to the sensor wouldn't really make much sense anyway.
Tracing the SDIO pin from the sensor, it goes directly to the microprocessor (only other chip on the board, so I'm assuming that's what it is, and I found a similar datasheet to the one on my mouse
microblog.routed.net/wp-content/uploads/2007/01/ma6221-s7k.pdf).
So, in theory, couldn't i cut the wire to the sensor, and connect that directly to digital I/O on the arduino?
That way I'm in theory getting a USB HID interface (possibly wireless to boot!).
However, it seems to simple that this would work, and hasn't been done already, as there seem to be some discussion as to using HID and Teensy, serial to usb converters, etc.
Would somebody be able to explain to me why this wouldn't work (if it won't)?
Also, if it is worth a shot, any idea what data comes from the SLCK pin? The data won't be coming from the sensor, so I'm guessing I'll need to push that through too.
If this doesn't work, I can of course get a teensy, and build from there, but I thought this might be worth a shot.