Windows recognizing XIAO SAMD21G18 as an HID device

I’m new to this forum and new to XIAO devices. I found a design for a 3 button keyboard using the XIAO SAMD21G18. I compiled the code and loaded it to the device. When I go to windows device manager I see
Other device/Seeeduino XIAO.
clicking into it it says “The drivers for this device are not installed.(Code 28)”
Also, I see Human Interface Device/USB Input Device
clicking into it it says “This device cannot start. (Code 10)”
How do I get it to be recognized as an HID device? I found a Youtube on how to do it with an Arduino using FLIP, but nothing using XIAO.
Please help a XIAO newbi.

Try this tutorial:


Please copy and paste the code in the wiki page above, instead of opening the example in Arduino IDE. If an error in this picture appears, please turn on the TinyUSB option.

Plus, what is your Windows version? It should work without any drivers on Windows 10 and 11.