To have chnages aparent in the User interface, would need to alter the code of the user interface, either GNOME, KDE, IceWM, WindowMaker QT-3 GTK GTK2, depends on what grapical user interface you use. there are hundreds if not thousande.
To hange the behavior of the mouse, you would need to alter wuther the mouse driver in the kernel, or re-program the way X11 interprets input from the mouse driver.
OR you could program a new driver, which takes input from the mouse driver, and tanslates it...
opens the /dev/input/mouse0 stream, alters it, then re-outputs the stream to maybe /dev/input/mouseX
for a laugh... try the following....
run "cat /dev/input/mouse1"
and movethe mouse around.. you will see raw input from the mouse displayed to screen..
(if not, try mouse0)
you can send your mouse crazy, my sening input to it... lik so (from the random number generating driver...)
"cat /dev/urandom > /dev/input/mouse0"
this will send your mouse zooming around, randomly clicking, dragging, deleteing... making a complete mess.
i hope you have a great understand of C, Linux module device driver programming, and the X11 Server, and its protocols.. the X server is a good few million lines of code,
| |
|
Welcome to AstaHost - Dear Guest | |
Toggle shoutbox
Shoutbox
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||



