From: T.Masuda on
I want to controll our developing HID mouse from application. Does anybody
give some advice for the following questions. Any comment will be welcome.

Can I install sample moufilter.sys as an upper filter driver of mouhid.sys?
Should I change the sample source code of moufilter.sys in DDK?
How do I change inf file?

Takashi Masuda
Japan

From: Ray Trent on
T.Masuda wrote:
> Can I install sample moufilter.sys as an upper filter driver of mouhid.sys?
Yes

> Should I change the sample source code of moufilter.sys in DDK?
The only change needed should be whatever logic you want to implement
for your device.

> How do I change inf file?
Change the PnP ID to that of your device.
--
Ray
From: Doron Holan [MSFT] on
yes, you can use moufiltr in the ddk as an upper filter to mouhid....but as
an upper filter all you will be able to do is modify the data reported by
mouhid. if you want access to the raw HID data, you will need to be a lower
filter which behaves a bit differently. if you go the lower filter route,
the best starting point is the KMDF version of the toaster filter.

as for the INF, you should match against the generic HID mouse compatible
ID, HID_DEVICE_SYSTEM_MOUSE

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.


"T.Masuda" <TMasuda(a)discussions.microsoft.com> wrote in message
news:B95141BB-AD4F-4478-9139-B01753C5FBE7(a)microsoft.com...
>I want to controll our developing HID mouse from application. Does anybody
> give some advice for the following questions. Any comment will be welcome.
>
> Can I install sample moufilter.sys as an upper filter driver of
> mouhid.sys?
> Should I change the sample source code of moufilter.sys in DDK?
> How do I change inf file?
>
> Takashi Masuda
> Japan
>

From: T.Masuda on
Thanks a lot.

"Doron Holan [MSFT]" wrote:

> yes, you can use moufiltr in the ddk as an upper filter to mouhid....but as
> an upper filter all you will be able to do is modify the data reported by
> mouhid. if you want access to the raw HID data, you will need to be a lower
> filter which behaves a bit differently. if you go the lower filter route,
> the best starting point is the KMDF version of the toaster filter.
>
> as for the INF, you should match against the generic HID mouse compatible
> ID, HID_DEVICE_SYSTEM_MOUSE
>
> 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.
>
>
> "T.Masuda" <TMasuda(a)discussions.microsoft.com> wrote in message
> news:B95141BB-AD4F-4478-9139-B01753C5FBE7(a)microsoft.com...
> >I want to controll our developing HID mouse from application. Does anybody
> > give some advice for the following questions. Any comment will be welcome.
> >
> > Can I install sample moufilter.sys as an upper filter driver of
> > mouhid.sys?
> > Should I change the sample source code of moufilter.sys in DDK?
> > How do I change inf file?
> >
> > Takashi Masuda
> > Japan
> >
>
>
From: Doron Holan [MSFT] on
ray had a better suggestion. if you want to filter your specific device
(and not all HID devices), your INF should match your device's specific
hardware ID.

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.


"T.Masuda" <TMasuda(a)discussions.microsoft.com> wrote in message
news:E6DD0003-6DEE-4C80-9DCA-C9E45694983E(a)microsoft.com...
> Thanks a lot.
>
> "Doron Holan [MSFT]" wrote:
>
>> yes, you can use moufiltr in the ddk as an upper filter to mouhid....but
>> as
>> an upper filter all you will be able to do is modify the data reported by
>> mouhid. if you want access to the raw HID data, you will need to be a
>> lower
>> filter which behaves a bit differently. if you go the lower filter
>> route,
>> the best starting point is the KMDF version of the toaster filter.
>>
>> as for the INF, you should match against the generic HID mouse compatible
>> ID, HID_DEVICE_SYSTEM_MOUSE
>>
>> 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.
>>
>>
>> "T.Masuda" <TMasuda(a)discussions.microsoft.com> wrote in message
>> news:B95141BB-AD4F-4478-9139-B01753C5FBE7(a)microsoft.com...
>> >I want to controll our developing HID mouse from application. Does
>> >anybody
>> > give some advice for the following questions. Any comment will be
>> > welcome.
>> >
>> > Can I install sample moufilter.sys as an upper filter driver of
>> > mouhid.sys?
>> > Should I change the sample source code of moufilter.sys in DDK?
>> > How do I change inf file?
>> >
>> > Takashi Masuda
>> > Japan
>> >
>>
>>