My goal is to produce a mouse with inbuilt macros. So my idea is mouse -> arduino usb hub (or raspberry pi) -> usb out -> computer. Where the arduino will process the input and will complete some aditional task based on the mouse input, then send it back to the computer. I don't want to rely on mouse to arduino then plug the arduino in. I want the arduino to produce the 4 pin signal to the computer.
Any suggestions as far as hardware is concerned for the best way to go about this!
Thanks alot guys.