This is kernel patch that will enable android phone as USB mouse
usbhid.patch is a patch to the kernel that run on your phone. With this patch the phone will emulate as a standard mouse, when you plug it on PC though USB. This patch is base on a Sony mobile phone.
mousetest.c is a test program run on PC, it will tell the phone report different location of mouse pointer, by run this program you will see the mouse pointer of PC is walk on the screen.