(Not sure which forum is best for this question, but this seems as good as any...)
I have an XMEGA Xplained Pro (and a SAME54 Xplained Pro, and SAMD21 Xplained Pro, and ...). I can write a simple demo program that receives characters from a terminal emulator and the external keyboard via getchar(), etc. Works great.
Now: what if I want to start receiving all changes to the keyboard keys (press and release)?
If the keyboard was plugged directly into the XMEGA (or SAME54, or SAMD21, etc) via a USB port, I imagine I could capture the USB HID events. But the USB interface connects to the EDBG processor, not the main processor. Is there any way to configure the system to receive all key change events?