Re: [Spice-devel] [spice-gtk] [PATCH] Provide a method to check if a USB device matches a specific class, subclass and protocol

2014-11-11 Thread Marc-André Lureau
Hi On Tue, Nov 11, 2014 at 3:29 PM, Fabiano Fidêncio 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

Re: [Spice-devel] [spice-gtk] [PATCH] Provide a method to check if a USB device matches a specific class, subclass and protocol

2014-11-11 Thread Fabiano Fidêncio
Zeeshan, On Tue, Nov 11, 2014 at 11:15 PM, Zeeshan Ali (Khattak) wrote: > On Tue, Nov 11, 2014 at 2:29 PM, Fabiano Fidêncio 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 Joyst

Re: [Spice-devel] [spice-gtk] [PATCH] Provide a method to check if a USB device matches a specific class, subclass and protocol

2014-11-11 Thread Zeeshan Ali (Khattak)
On Tue, Nov 11, 2014 at 2:29 PM, Fabiano Fidêncio 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

[Spice-devel] [PATCH spice-gtk] Release keyboard grab using keyboard shortcut

2014-11-11 Thread Pavel Grunt
This commit adds the ability to release the keyboard grab when the release keys (ctrl+alt) are pressed and released. It allows to use keyboard shortcuts (eg alt+tab, alt+f4) on the client. The keyboard is grabbed again when the release keys are pressed and released or when the mouse moves. https:

Re: [Spice-devel] [spice-gtk] [PATCH] Provide a method to check if a USB device matches a specific class, subclass and protocol

2014-11-11 Thread Cody Chan
Great! Is there a good way to let it work for windows client? libusb is not fully support for windows... I tried to build libwdi with WDK, but I don't think it's a good way. On Tue, Nov 11, 2014 at 10:29 PM, Fabiano Fidêncio wrote: > As we only can filter USB devices by their Classes and sometim

[Spice-devel] [spice-gtk] [PATCH] Provide a method to check if a USB device matches a specific class, subclass and protocol

2014-11-11 Thread Fabiano Fidêncio
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 Prot