Hello Kernel Driver Developers,
Seems like every time I get a new driver development project, I am asking you guys how to get started. This is no exception… I have been looking at this stuff for a few days now and have come to the conclusion that I have no idea what I am doing…
I am trying to write a mouse driver for a Windows 7 64 bit OS. The target hardware is a custom embedded unit that we build. We have a touch screen that is inputing RS422 serial touch data through a memory mapped FPGA. I have already written a legacy style driver that can be used to transfer that data to a user application. (Just a simple open handle to named driver and get data IOCTL kind of thing…) The original requirement was just to access the touch screen from a select user application.
Now they want to be able to use the touch screen as a mouse device (user logins ect.). I was thinking I could write a driver that would replace the MS serial mouse driver, however that has not proven to be as simple as I thought. I cant even figure out how to install the thing. I do not want to use serenum to start the thing because the hardware is memory mapped and not accessed through a COM port.
What I would like to do is just start the driver as a legacy hardware device using the MemConfig hardware construct in the INF Install section. (Same as the PortIO driver sample code). Then connect my driver to the mouclass driver (not using sermouse or any of the other microsoft drivers) and send the mouse commands to mouclass directly from my driver.
How do I do this?? I have not been able to find any sample code that really helps. The moufiltr and sermouse sample projects rely on serenum to start. And mouclass does not start if sermouse or one of the other mouse devices in msmouse.inf does not start. Also, I do not know if this thing would be a filter or what…
I know how to make my hardware work and translate the serial data into mouse data, I just dont know how to send it to mouclass.
Any help would be appreciated. At this point I am just walking in circles…
Thanks.
Bob