Hi!
Can anyone point me directions on how to do a very simple HID filter-
driver that just modifies absolute screen-coordinates from a HID
compatible touch-screen (USB device)?
Is there any available source for a simple HID filter-driver?
The HID documentation in the DDK is very confusing for me 
Regards,
Paul Groke
Get the server 2003 DDK. It has an example called firefly. It sits
between mouhid and the PDO for the pointing device. You could set an
IRP_MJ_READ dispatch routine, set a completion routine on the IRP and
change the data when it is being reported.
I think that is too complicated for what you want though. There is
another filter example in the DDK, moufiltr. It sits between mouhid and
mouclass. In that filter, you just insert yourself into the callback
chain (already demonstrated in the src code in the example) and you
modify the MOUSE_INPUT_DATA being reported by mouhid. No need for
setting completion routines. No need for parsing HID data and then
repacking it so that mouhid can reparse it. I would recommend this
route.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@tab.at
Sent: Tuesday, June 08, 2004 6:26 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Another HID question
Hi!
Can anyone point me directions on how to do a very simple HID filter-
driver that just modifies absolute screen-coordinates from a HID
compatible touch-screen (USB device)?
Is there any available source for a simple HID filter-driver?
The HID documentation in the DDK is very confusing for me 
Regards,
Paul Groke
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com