Thoughts on mouse buttons

Fabio Massimo Di Nitto fabbione at fabbione.net
Sun Sep 19 06:32:55 UTC 2004


On Sun, 19 Sep 2004, Daniel Borgmann wrote:

> On Sat, 2004-09-18 at 22:07 -0700, Matt Zimmerman wrote:
> > > Actually, looking at the mouse configuration dialog, I am surprised that
> > > this option is not covered there. It probably should be.
> >
> > This option is currently set in the X server configuration, and so is not
> > currently configurable on a per-user basis.
>
> I wonder how difficult it would be to replicate this functionality in
> GNOME? Do the input events get filtered through anything? The more I
> think about it, the more it sounds like a nice and obvious solution to
> me.

eh i don't think it's that easy as you think. The kernel takes care of
collecting (almost all) the mouse input into /dev/input/mice. The Xserver
at that point take care of interpreting the data coming from the mouse and
redistributing them.
Also, as Matt already pointed, this setting is not available on a per-user
base. It is global to the Xserver and the mouse section is not "hot-plug".
You can't change the settings without restarting X.

Fabio

-- 
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.




More information about the ubuntu-users mailing list