You are not logged in.

#1 2010-03-27 20:40:51

randomguy
Member
Registered: 2007-06-19
Posts: 101

Mouse acceleration in X today

After a long absence from games I've played a few rounds of assault cube and CS:S. Today I tried to fine tune my mouse speed and acceleration by using xset m. This method doesn't seem to work anymore. Instead Xorg has got a new way of dealing with this, which is described here:
http://www.x.org/wiki/Development/Docum … 34190b732d
I tired diffrent parameters on xinput set-ptr-feedback and xinput set-prop. Doesn't change anything for me. So i wonder: How are you setting mouse parameters today? Are there gui tools?

Last edited by randomguy (2010-03-27 22:51:32)

Offline

#2 2010-03-28 22:03:11

randomguy
Member
Registered: 2007-06-19
Posts: 101

Re: Mouse acceleration in X today

If anybody cares:

xinput --list

This lists the devices connect to X via hal.

xinput --list-props <device name or id>

Prints out the available properties for the choosen device. One sets props by issuing:

xinput --set-prop <device name or id> <prop name OR prop id> <prop value>

This seems to work without declaring the props type ASLONG as you use the same type of value. To cut a long story short this is what i use to have decent mouse speed for my MX518 in 1600dpi mode without any acceleration:

xinput --set-prop "Logitech USB-PS/2 Optical Mouse" "Device Accel Profile" -1
xinput --set-prop "Logitech USB-PS/2 Optical Mouse" "Device Accel Constant Deceleration" 4

The values are integers by default. Lets hope this doesn't get revamped once again when hal support is dropped. I'll get this into the wiki once i have some time on my hands. If somebody wants to step in, feel free.

Offline

#3 2010-03-28 22:24:55

martin77
Member
Registered: 2010-03-14
Posts: 111

Re: Mouse acceleration in X today

Which version of Xorg server are you running? May be it's imcopatible with the parameters you feed it. Also, in KDE4 -and I presume in almost every other DE- you have a dedicated section to fine tune your mouse behaviour, try looking for it in your DE or even in your DE support forum/wiki on how to configure and setup the mouse.

Offline

#4 2010-03-29 02:38:48

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Mouse acceleration in X today

Good work randomguy.  I heard previously that xinput was being moved to, but wasn't sure it that had been finalized yet.  Probably need to find a place for it on the wiki.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#5 2010-04-02 13:47:14

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,398

Re: Mouse acceleration in X today

I've no problems in setting mouse acceleration via xset.

Gozer ~ # pacman -Q xorg-server 
xorg-server 1.7.5.902-1

...and my xorg.conf hasn't any input device definition.

what i use is: xset m 15/10

-edit-
The problem kicks in when using a second mouse/pointer:
my xinput --list:

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB-PS/2 Optical Mouse           id=6    [slave  pointer  (2)]
⎜   ↳ Macintosh mouse button emulation          id=8    [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=9    [slave  keyboard (3)]
    ↳ Power Button                              id=10   [slave  keyboard (3)]
    ↳ Power Button                              id=11   [slave  keyboard (3)]
⎡ New pointer                                   id=12   [master pointer  (13)]
⎜   ↳ New XTEST pointer                         id=14   [slave  pointer  (12)]
⎜   ↳ USB Mouse                                 id=7    [slave  pointer  (12)]
⎣ New keyboard                                  id=13   [master keyboard (12)]
    ↳ New XTEST keyboard                        id=15   [slave  keyboard (13)]
    ↳ LITEON Technology USB Multimedia Keyboard id=16   [slave  keyboard (13)]

xset works correctly on "Logitech USB-PS/2 Optical Mouse", while "USB Mouse" acceleration remains unchanged

Last edited by kokoko3k (2010-04-02 13:54:40)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB