Re: mousefilter driver setup

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi Doron. Thank you for your response. I got little bit confused , please see
Maxim's post above it talks about diffrent architecture.I will check vhidmini
example in DDk, however I thought that I cannot implement HID system as my
low level WDM driver has high data rate transfer between HW and driver. Can
you pleas explain a little more about your suggestion?
David.
"Doron Holan [MS]" wrote:

if you go this route, you will not be able to talk to the device from user
mode. i would suggest that if UM communication is required, you write a hid
miniport driver and expose 2 top level collections. one for the mouse part,
the 2nd for your UM communication. see the vhidmini sample to get started.

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.


"Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx> wrote in message
news:uelraCHpGHA.4196@xxxxxxxxxxxxxxxxxxxxxxx
No, you can use the mouse _port_ - not filter - driver instead. Just
register Mouclass as upper filter and respond to Mouclass's IOCTLs, which
will
register callbacks in your driver, it will need to call them with arrays
of
MOUSE_INPUT_DATA structures.

The details are in Mouser DDK sample.

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

"David" <David@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6A20B4AB-22D5-4262-BDBF-A69BF24251D0@xxxxxxxxxxxxxxxx
Hello there.
We are developing input device hardware - wirless pen device. Device is
NOT
HID - it sends a lot of data in bulk mode. This device is connected via
USB
to PC , I also have a low level WDM driver which transferes data from HW
to
PC and performs some calculations. I would like to simulate mouse events
in
kernel mode based on input from my device. As I understand from DDK I
shouild implement mousefilter driver and insert ti into driver stack.
This
filter will reside between my low level HW driver and mouclass.sys
default
driver. I've examined moufiltr sample in DDK and have some questions (Im
quite novice in drivers world):
1. examples referres to PS/2 mouse divices and so does inf file. Can I
use
it in my case?
2. I tried to install moufiltr ( I do not change anything) driver but it
fails to install. Error message: "A service installation section in this
INF
file is invalid"?
3. What is the best way to communicate between low level driver and mouse
filter driver?
Thnak you in advance , Davisd
.





.



Relevant Pages

  • Re: joystick driver/registry entries
    ... VHIDMINI sample was added first in Server 2003 DDK. ... >>expose your joystick as a HID device for DirectInput to ... >>> driver for basic joystick support and have been able to ...
    (microsoft.public.development.device.drivers)
  • Re: Intimate relations between two objects
    ... If they are essentially device drivers whose mission is to manage low level stuff like register read/modify/write, then that sort of machination needs to be thoroughly hidden. ... In that case each driver should have a getter/setter to extract/accept the data and some third party decides when that should happen. ... That third party then just invokes the extractor getter from one and passes the data packet to the setter for the other. ... because it needs private information of o. ...
    (comp.object)
  • Re: [PATCH] Block layer: separate out queue-oriented ioctls
    ... block layer bits are certainly ok with me, if Doug acks the sg bit I'll ... ability of doing low level things like SG_IO from block drivers as this is ... similar low level stuff that rather belongs to low level drivers. ... Any driver that allows to use low level interfaces to send RAW SCSI commands ...
    (Linux-Kernel)
  • Re: mousefilter driver setup
    ... i would suggest that if UM communication is required, ... miniport driver and expose 2 top level collections. ... The details are in Mouser DDK sample. ... I also have a low level WDM driver which transferes data from HW ...
    (microsoft.public.development.device.drivers)
  • Re: Talking to USB
    ... I have located the low level driver DLL but there is no documentation ... There is a well documented TWAIN driver, of course, but I ... I had hoped that USB has some canonical low level comms ... Of course, each device uses different commands, but I ...
    (microsoft.public.vb.syntax)