I want to work with the Xorg server module, and I wonder how I can reload the module at runtime.
Also, maybe someone can give me some useful tips on how to do this (because I have never worked with Xorg server code before).
Esp. I am running Ubuntu Xorg 7.5 (if that matters, right?).
What I want to do specifically is to implement mouse wheel acceleration in XInput.
I was thinking of adding a new option for this that could be installed somewhere (I think xorg.conf is no longer the place where you will configure the XInput configuration, where it is now, and what would be the best way to introduce a new one, t .e. MouseWheelAccel or sth, how is it?).
And then, of course, realize the actual acceleration. Since mouse wheel events are similar to button click events, I thought of simply increasing the rate of fire with such events. How to implement this is actually a really minor problem. (I actually think of it as trivial. Let's see if the Xorg code makes it so simple ...)
source
share