Doron
Sat Jan 15 11:25:30 CST 2005
1) and 2): in the service callback defined in kbdfiltr. if you want to
filter it out, do not report the packet to the upper service callback.
remeber, you are passed an array of KEYBOARD_INPUT_DATA structures, so you
must iterate over all of them and not just the first element.
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"mosan" <mosan1981@163.com> wrote in message
news:ORb2O9k%23EHA.3372@TK2MSFTNGP10.phx.gbl...
> Thanks!Maxim S. Shatskih
>
> I want to filter the PS/2 keyboard key-hit only!
> because I am a fresh man in Device Driver development,and I think this one
> is more simply!
> OK!If I only use the PS/2 keyboard,what should I do?
> [1]how to find the specified key-hit?
> [2]where and how to filter it?
>
> ----- Original Message -----
> From: "Maxim S. Shatskih" <maxim@storagecraft.com>
> Newsgroups: microsoft.public.development.device.drivers
> Sent: Friday, January 14, 2005 11:08 PM
> Subject: Re: How can I filter a key-hit in PS/2 keyboard?
>
>
>> First question: do you need to also monitor USB keyboards too?
>> I would monitor both.
>>
>> KBDFILTR contains both the 8042-specific code (hard) and the
>> universal
>> keyboard code (simpler). Use only the latter one, throw away the first
> one.
>>
>> --
>> Maxim Shatskih, Windows DDK MVP
>> StorageCraft Corporation
>> maxim@storagecraft.com
>>
http://www.storagecraft.com
>>
>> "mosan" <mosan1981@163.com> wrote in message
>> news:OCdNeUk%23EHA.4028@TK2MSFTNGP15.phx.gbl...
>> > Hello!
>> > I want to filter a key-hit in my ps/2 keyboard!
>> > That is to say I want to develop a upper-device-filter-driver!
>> > and I tried to modify the KBFILTR driver code in Win 2000 DDK sample.
>> > but there are no such document that say about this in detail.
>> > so I need your help!
>> > Could you give me a guid,please?
>> > Thank you!
>> >
>> > mosan1981@163.com
>> >
>> >
>>
>>
>
>
>
> "mosan" <mosan1981@163.com> wrote in message
> news:OCdNeUk#EHA.4028@TK2MSFTNGP15.phx.gbl...
>> Hello!
>> I want to filter a key-hit in my ps/2 keyboard!
>> That is to say I want to develop a upper-device-filter-driver!
>> and I tried to modify the KBFILTR driver code in Win 2000 DDK sample.
>> but there are no such document that say about this in detail.
>> so I need your help!
>> Could you give me a guid,please?
>> Thank you!
>
> mosan1981@163.com
>
>
>
>
>
>