The USB HID Mouse Example will help you to get familiar with the USB Device Port(UDP) and PIO interface on SAMv7 microcontrollers. Also it can help you to be familiar with the USB Framework that is used for rapid development of USB-compliant class drivers such as USB Human Interface Device class (HID).
This package can be used with all Atmel Xplained board that has UDP interface and have push button or joystick on it.
When an Xplained running this program connected to a host (PC for example), with USB cable, the Xplained appears as a HID-compliant mouse for the host. Then you can use the joystick or buttons on the Xplained to control the pointer on the host. * E.g., to move it.
On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
Start the application.
-- USB Device HID Mouse Project xxx -- -- SAMxxxxx-xx -- Compiled: xxx xx xxxx xx:xx:xx --