Hello,
I want to develop a windows desktop application to modify the mouse buttons behaviour (PS/2 and USB). I tested it with mouse hooks in c# and c++ but i realized that i probably have to use a filter driver.
I want to hack the moufiltr example for my purposes but it’s not that easy for me to find the corresponding information to do it.
I’m following a webcast for developing a WDM filter driver to understand how to start but is it the right way for a beginner just to hack a WDF filter driver?
Where can i find the right information to proceed specifically in moufiltr to use it with USB and to modify the mouse actions? (Of course, concrete steps would be great. )
Hi Tim,
Finally I had a little help from a very experienced guy on MSDN. The problem was that SendInput doesn’t work properly without lagging in a mouse hook when i modify the scroll wheel. It took a few weeks of testing and it’s unfortunately not working.
I’ve read a little bit in this forum where you suggest to read some things about windows drivers for understanding the moufiltr driver.
I don’t really know where to start. The webcast for the WDM driver is really understandable but i doubt that i can technically transport it to the moufiltr example. WDF seems more complicated. I know that i have to do it with WDF at the end.
you are not likely to get much help here unless you tell us how you are planning to ‘hack the mouse’ and to what end. as a learning project sure, but then read the sample code
Ok, Thanks. Tim’s statement got me thinking further. I had a few hard weeks of thinking and testing behind me, then in the morning i had the right idea and it’s working now without the need of a filter driver.