Description
I developed two device descriptors that support NRKO (https://emergent.unpythonic.net/01625944378). While doing so, I noticed that the standard adafruit_keyboard
class had no way of knowing that the report didn't match what it expected, until it encountered an exception trying to send a wrong-sized report.
I don't know exactly what is necessary or useful, but it seems like it would be nice if Keyboard could instead say "this descriptor isn't quite what I need"; this might consist of looking at the descriptor bytes themselves, or getting other information like the length of the report. However, the length of the report alone might not be enough to distinguish exactly what the descriptor does.
I did prototype adding a ".descriptor" property to Device objects but I'm not sure that's the direction to go either, so I'm putting this in as a feature request rather than a PR.