USB HID using PIC18F2550 to fake activity - jiggle/wiggle mouse
Makes the mouse move in a figure of 8 (infinity), when a push switch is pressed, with a timeout after 30 minutes.
Ideal hardware solution for keeping a laptop awake.
Uses BoostC http://www.sourceboost.com, example source code http://www.sourceboost.com/Products/BoostC/ExampleCode/usb/usbtestcc.c.html
Full details at https://electro-dan.co.uk/electronics/PIC_UsbMouseJiggler.aspx