This reference design demonstrates a USB joystick game controller using the ATxmega32A4U microcontroller. This design allows users to control the mouse cursor and clicks on a graphical user-interface via the joystick and buttons of the controller.
Two 2-axis analog joysticks
Up to six push buttons through digital I/Os
Report direction and state parameters through USB HID