I would like to write a little program what can be compiled either on linux or windows to simulate usb keyboard and mouse. I would like to send those actions to multiple computers at the same time using multiple usb ports.

Any idea if there is a tutorial on this or how to get started?