Speed control on multiple pointers

Zephaniah E. Hull warp at aehallh.com
Thu Feb 9 11:13:30 PST 2006


On Thu, Feb 09, 2006 at 12:46:48PM -0500, Ross Vandegrift wrote:
> Hello everyone,
> 
> Is there a good way to control the speed on multiple pointer devices?
> I have both a mouse and a trackpoint keyboard, and they have very
> different scales for speed.  My TrackPoint settings make my mouse way
> too fast.
> 
> I'm currently using /dev/input/mice with Linux 2.6.  I suspect I
> probably need to break out the configuration into two pointers.
> However, I don't see any options to xset that would let me configure
> them indepenedently.

You'll definitely need to split them up.

I am not sure if acceleration settings are global, or per device,
however I believe them to be per device.

If that is the case you'll probably have to do some dancing with
xsetpointer to change the core pointer, then set it for the second
device, then possibly change it back.

Ugly, but effective.

A brief look at the code does indeed show that it's per pointer.

Sometime soon someone needs to write a new tool that can adjust the
settings on arbitrary input devices, not just the core devices.

As far as I can tell, the functions for doing so are all in X lib, but
nobody has really written a program to take advantage of them.

Zephaniah E. Hull.

-- 
	  1024D/E65A7801 Zephaniah E. Hull <warp at aehallh.com>
	   92ED 94E4 B1E6 3624 226D  5727 4453 008B E65A 7801
	    CCs of replies from mailing lists are requested.

> My kid brother tells me Visual Age for Java is the cat's pajamas

I'm not a cat person, but I can just imagine the reaction of your
average feline to someone's attempt to stuff it into a pair of
pajamas.

Now picture your hard disk after the thing installs.
 -- Berry Kercheval and Graham Reed on ASR.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20060209/118545d1/attachment.pgp>


More information about the xorg mailing list