I have code for a web to track a laser dot on a wall to control mouse position. It works fine except for slight lag at times.
I need the same code or your own code written at the kernel level to run as an actual mouse driver so that there is zero lag in Direct X games.
There will be some mouse control parameters that this application will load from a text file such as how fast to move the mouse...