This is the perfect snippet to get started with USB device detection in a light-weight way. Worked right out of the box. Thank you!!