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

Re: How can I filter a key-hit in PS/2 keyboard? by Cary

Cary
Fri Jan 14 08:52:50 CST 2005

http://www.sysinternals.com
search for cap2ctrl

"mosan" <mosan1981@163.com> дÈëÏûÏ¢ÐÂÎÅ
: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
>
>



Re: How can I filter a key-hit in PS/2 keyboard? by Maxim

Maxim
Fri Jan 14 09:08:19 CST 2005

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
>
>



Re: How can I filter a key-hit in PS/2 keyboard? by mosan

mosan
Fri Jan 14 09:16:19 CST 2005

First!Thank you very much!
but would you give me some more advice,please?
because I have no time to think or find documents!

----- Original Message -----
From: "Cary" <xiaowavy@sohu.com>
Newsgroups: microsoft.public.development.device.drivers
Sent: Friday, January 14, 2005 10:52 PM
Subject: Re: How can I filter a key-hit in PS/2 keyboard?


> http://www.sysinternals.com
> search for cap2ctrl
>
> "mosan" <mosan1981@163.com> дÈëÏûÏ¢ÐÂÎÅ
> :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
> >
> >
>
>


"Cary" <xiaowavy@sohu.com> wrote in message
news:#1tyPfk#EHA.1260@TK2MSFTNGP12.phx.gbl...
> http://www.sysinternals.com
> search for cap2ctrl
>
> "mosan" <mosan1981@163.com> дÈëÏûÏ¢ÐÂÎÅ
> :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
> >
> >
>
>



Re: How can I filter a key-hit in PS/2 keyboard? by mosan

mosan
Fri Jan 14 09:40:37 CST 2005

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







Re: How can I filter a key-hit in PS/2 keyboard? by Maxim

Maxim
Fri Jan 14 09:47:50 CST 2005

> 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!

No. Filtering at keyboard-agnostic level is simpler.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com



Re: How can I filter a key-hit in PS/2 keyboard? by Doron

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
>
>
>
>
>
>