You are not logged in.

#1 2006-07-09 20:14:25

maxwevers
Member
Registered: 2006-06-30
Posts: 29

Acceleration setting with xorg

Hi,

I hava a laptop with a trackpoint and an external usb-mouse. Now I need to different acceleration values for both.

Is this even possible or do I always have to change it manually?

Offline

#2 2006-07-09 21:38:33

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: Acceleration setting with xorg

You should be able to do it seperately.

In xorg.conf (assuming you're using X.org) you'll need an InputDevice section for your trackpoint, and one for your other mouse. Simply using /dev/input/mice for the other mouse will probably work. If it doesn't, try writing a udev rule to give it its own node with a consistent name.

Offline

#3 2006-07-10 12:14:05

maxwevers
Member
Registered: 2006-06-30
Posts: 29

Re: Acceleration setting with xorg

At the moment I only have one mouse configured on /dev/input/mice, but as both, the trackpoint an the usb-mouse are mapped to this I can plug in the mouse at any given time and both will work together. The disadvantage is that I have the same values for accel which is far to high for the external mouse.

I tried to setup two seperate devices on mouse0 and mouse1, but this will get only one mouse to work at a time. :x

Setting up two seperate devices, each on /dev/input/mice works, but I don't know how to change the acceleration value for each mouse.   sad

Offline

#4 2006-07-10 19:49:26

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: Acceleration setting with xorg

To use more than one mouse at a time you'll have to mention them both in your ServerLayout section. One will need to be the core pointer, and the other will need to "SendCoreEvents". See "man xorg.conf" for details.

I was thinking that your trackpoint already had its own node. It may be on /dev/psaux; my touchpad is.

Here are the relevant sections of my xorg.conf file; you may find them useful:

Section "InputDevice"
        Identifier "All Mice"
        Driver "mouse"
        Option "Device" "/dev/input/mice"
        Option "SendCoreEvents" "on"
EndSection

Section "InputDevice"
        Identifier  "Synaptics Mouse"
        Driver      "synaptics"
        Option      "Protocol" "auto-dev"
        Option      "Device" "/dev/psaux"

        .... #Some touchpad specific stuff is removed.
EndSection

Section "ServerLayout"
        Identifier     "LFP"
        Screen      0  "Screen0" 0 0
        InputDevice    "Synaptics Mouse" "CorePointer"
        InputDevice    "Keyboard" "CoreKeyboard"
        InputDevice    "All Mice"
EndSection

I've found X to be a little finicky about where  I put "SendCoreEvents".

I'm not sure how to set the acceleration slower for a mouse using the "mouse" driver, as I only needed to change the values for my touchpad.

Offline

#5 2006-07-11 15:34:16

maxwevers
Member
Registered: 2006-06-30
Posts: 29

Re: Acceleration setting with xorg

I configured the devices in the way you suggested and both work as expected, but they still share the same acceleration value.

Offline

Board footer

Powered by FluxBB