ATSAMD21G18 native USB device descriptors

Hi everyone,

This is my first post here, be gentle with me!

I'm developing an application running in a custom board using a SAMD21G18. Since it was my first encounter with Atmel Studio and really felt overwhelmed by real programming :o i decided to gently make my way in using the arduino core but programming on Atmel studio.

The thing is, for my application i'd like that my device appeared to the host computer via the native USB port with my custom descriptors and settings, however, after much struggling, i still can't get it working right.

I tweaked here and there the header and c files regarding the USB part without much luck, maybe some of you can point me to the rigt direction!

I attach a photo of my project (everything is homemade!), what do you think of them!

(PS. my thing is hardware, i'm still getting on my way to the whole software thing :confused: )