I am working on my first project with XMEGA (atxmega16a4u) which is a USB PC peripheral that implements a serial port and a HID mouse. I'd like to use the serial to control the gadget which will then emulate mouse clicks (to be sent back via the mouse endpoint).
I have experience with the non-USB ATMEGAs.
Please give me pointers on how to get started. I synced LUFA, but the samples there seem to not support the XMEGA architecture, only AVR8. Since I am new the USB, too, I am hesitant to proceed without a working sample.
Thanks.