Hello everyone!
I’ve never written a driver yet, but I want to start with some (properly simple) project for my personal use. The Idea is to write a kind of driver which simulates Mouse-Movements from time to time (to avoid that the screensaver kicks in, also in RDP Sessions).
It’s very annoying in “RDP Hopping” Scenarios (Computer At Home -> My company dev machine -> Gateway server at some location -> Some Server) that you may need to enter different passwords so often. Reconfiguring the Screen-Saver on several machines is also not really an option.
So I thought that some kind of software which just makes the machine think the mouse has been moved would be a very handy tool. Ideally it should only kick in when the mouse has not been moved by the user for some time period. I thought that a kind of Mouse Filter would do the job. Basically I would update a timestamp when the user moves the mouse and register a periodic callback that checks if current time - recorded timestamp > threshold. If so, it shall generate a mouse-movement.
I would also like to implement a feature that allows the functionality to be enabled / disabled (maybe by using a kind of “tray icon app”). Can this be achieved just be starting / stopping the driver? Or do I need to implement custom DeviceIoControl commands?
So I have the following questions:
? What do you think about it? Would it be a project to start driver deployment?
? What shall I choose for the Development Environment (I would like to support WinXP and above)
? Are there any samples to start with?
? I would like to have a behavior similar to the sysinternal tools, which are started as a tool and that dynamically installs and starts the needed driver(s). How can this be achieved?
? For Vista64 and above: When I want to run this on another machine, does it need to be signed?
Thank you so far!
GP