On Tue, Nov 11, 2014 at 2:29 PM, Fabiano Fidêncio <fidencio@xxxxxxxxxx> wrote: > As we only can filter USB devices by their Classes and sometimes it is > not enough (eg: I do not want to have Keyboard and Mouse, but want to > have have Joysticks, being all of them part of HID Class), provide to > the applications a way match the device itself with the desired Class, > SubClass and Protocol, so the applications refine the filter provided > by usbredir. I don't think its a good idea to create a separate API for this on the device level. I suggest either or both of following: * Extend (if possible without breaking existing API) the existing filtering mechanism for DeviceManager for this. * Provide getters for all these properties on device level so Apps can use that info for different things, including of course to filter devices in a list. > This patch was written based on https://bugzilla.gnome.org/show_bug.cgi?id=698430 > Any suggestion to have a shorter short-log is welcome :-) After all that practice with this in Boxes, I'm pretty sure you can do much better if you just try a bit. -- Regards, Zeeshan Ali (Khattak) ________________________________________ Befriend GNOME: http://www.gnome.org/friends/ _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel