USB Playing around with the USB interface using Factor (HID) Human Interface Device would be a good place to start with.