xbmc/xbmc — comment on commit da3fabb964b88a13d982e283d8cc0454e96d7fab
File: xbmc/peripherals/Peripherals.cpp line 397
By jhsrennie:

Oops, I've been a bit too zealous in my error checking!

Can you give me an example of a generic device and how it would be used? Possibly one I can test myself. An obvious quick fix would be to make the vendor and product id default to zero if they aren't supplied, but that feels a little tacky to me and I wonder if there is a more elegant solution.