Can anyone direct me to the files required? Even knowing the names would help. I read somewhere that an ".inf" file is required; I can see that there are several in the drivers folder but I don't know if the right one is in there.
Before, Device Manager showed a Leonardo without a driver in "other". After loading this code (the default programmer USBtinyISP did not work but AVR ISP did) there is an entry in the HID section but no mention of Leonardo.
I have to move to another computer but I'll try adding that include and see if makes a difference. That one was using the programmer AVR ISP mkII and it got the new HID input device, but still has an "Other Device" Leonardo without a driver. I think this is due to the WEB USB library. (Tiny Sorter).
It's good to know that the Leonardo is generally behaving.