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 !

Re: Filter Driver for USB Keyboard by Maxim

Maxim
Fri Jul 04 10:46:04 CDT 2003

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

Be sure your HID report descriptor describes the additional keys.

Max



Re: Filter Driver for USB Keyboard by minso

minso
Mon Jul 07 03:20:53 CDT 2003

"Doron Holan [MS]" <doronh@online.microsoft.com> wrote :
> if you don't see the keys as a kbdclass lower filter, my 99% sure guess is
> that your non standard keys are in a separate collection. this means that
> they are accessible from user mode and you can do whatever key translation
> you want.
>
> what type of keys are these? there is built in system support for a certain
> set of keys. you should look at WM_APPCOMMAND.
> what do you want to do with these keys?


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.