Hello!
It depends on the interface. If you want to get mouse events from an Arduino board, that might be tricky.
Many processors have a _device_ USB, which means that you can easily make a device that
connects to a PC. But among these processors, many cannot be host. If a processor cannot
be host, then it will be difficult.
-> You can program that processor to behave like a mouse, for example you use the XY accelerometer
of some board to simulate a mouse and you can move that mouse with the board inclination.
But you will have a hard time programming your device to be a host. I wouldn't say it's not possible,
maybe it is, but I guess if it's possible anyway it's not easy.
NB: an easier method would be to try to find an old mouse when mouse were not USB. In this case, it
might be a lot easier to interface because it's a kind of spi devce (2 wires other than VCC and ground:
one clock, one data).
Dora