Tech Support > Microsoft Windows > Drivers > Filter Driver for USB Keyboard
Filter Driver for USB Keyboard
Posted by Eric Minso on July 4th, 2003


Hello,

I'm developing a filter driver for a USB HID keyboard, in order to add
support of non-standard keys.

But I don't know where to put my filter. If I define it as a KbdClass'
lower filter, I catch only standard keys (nothing happens when I press
non standard keys).

If I define it as a HidClass' lower filter, I catch URB.

If I define it as a HidClass' upper filter, I catch nothing when a key
is pressed.

- Do you know how data are transmitted from the HidClass function
driver to the KbdClass function driver ? (and how to catch them ?)

- Do you know how are used hidclass.sys and hidparse.sys ? They are
present in the HID keyboard driver list, but they are not declared in
the registry.

Thank you for your help !

Posted by Maxim S. Shatskih on July 4th, 2003


Be sure your HID report descriptor describes the additional keys.

Max



Posted by Eric Minso on July 7th, 2003


"Doron Holan [MS]" <doronh@online.microsoft.com> wrote :

This is a keyboard from a big company with additional keys added to
start some specific software from that company. But I want to use
these key on a standard Windows XP.

I also think they are in a separate collection ; do I have to put a
filter under hidclass and deal with URBs to convert these keys or is
there an easier way do to that ?

How work Microsoft special keys (Internet, E-mail, ....) ? I didn't
catch them neither with a kbdclass lower filter.


Similar Posts