Want to learn about USB HID

I just received the email about the Seeeduino XIAO with the SAMD21.



I am looking for example programs for sending packets to/from a board with the SAMD21.