Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mouse acceleration, libinput
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Thu Feb 09, 2017 9:48 am    Post subject: Mouse acceleration, libinput Reply with quote

Hi,

I have 3 pointer devices (Wireless mouse, Trackball, Touchpad) and can't get the acceleration changed at all. learned about the difference of evdev and libinput, that libinput is newer and I should only use one of those at a time. I noticed in xinput list, that my mouse was using both, so I removed x11-drivers/xf86-input-evdev. Now I still see 2 devices for my mouse but it seems that one is only serving the scroll wheel, the other for the rest.

Using xfce4-mouse-settings has no effect at all, though it should support libinput.

I tried some of the xinput properties but none of them has any effect, or only a tiny effect, hard to say:

Code:
$ xinput list
⎡ Virtual core pointer                       id=2   [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                 id=4   [slave  pointer  (2)]
⎜   ↳ Logitech Trackball                         id=8   [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                         id=12   [slave  pointer  (2)]
⎜   ↳ ImPS/2 Generic Wheel Mouse                 id=13   [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                      id=9   [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                      id=14   [slave  pointer  (2)]
⎣ Virtual core keyboard                      id=3   [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                id=5   [slave  keyboard (3)]
    ↳ Power Button                               id=6   [slave  keyboard (3)]
    ↳ Sleep Button                               id=7   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard               id=11   [slave  keyboard (3)]
    ↳ Logitech USB Receiver                      id=10   [slave  keyboard (3)]
Code:
$ xinput list-props 8
Device 'Logitech Trackball':
   Device Enabled (146):   1
   Coordinate Transformation Matrix (148):   1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
   libinput Accel Speed (284):   1.000000
   libinput Accel Speed Default (285):   0.000000
   libinput Accel Profiles Available (286):   1, 1
   libinput Accel Profile Enabled (287):   1, 0
   libinput Accel Profile Enabled Default (288):   1, 0
   libinput Natural Scrolling Enabled (289):   0
   libinput Natural Scrolling Enabled Default (290):   0
   libinput Send Events Modes Available (269):   1, 0
   libinput Send Events Mode Enabled (270):   0, 0
   libinput Send Events Mode Enabled Default (271):   0, 0
   libinput Left Handed Enabled (291):   0
   libinput Left Handed Enabled Default (292):   0
   libinput Scroll Methods Available (293):   0, 0, 1
   libinput Scroll Method Enabled (294):   0, 0, 0
   libinput Scroll Method Enabled Default (295):   0, 0, 0
   libinput Button Scrolling Button (296):   2
   libinput Button Scrolling Button Default (297):   2
   libinput Middle Emulation Enabled (298):   0
   libinput Middle Emulation Enabled Default (299):   0
   libinput Rotation Angle (300):   0.000000
   libinput Rotation Angle Default (301):   0.000000
   Device Node (272):   "/dev/input/event1"
   Device Product ID (273):   1133, 50180
   libinput Drag Lock Buttons (302):   <no items>
   libinput Horizontal Scroll Enabled (303):   1
Code:
$ xinput list-props 9
Device 'Logitech USB Receiver':
   Device Enabled (146):   1
   Coordinate Transformation Matrix (148):   1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
   libinput Natural Scrolling Enabled (289):   0
   libinput Natural Scrolling Enabled Default (290):   0
   libinput Send Events Modes Available (269):   1, 0
   libinput Send Events Mode Enabled (270):   0, 0
   libinput Send Events Mode Enabled Default (271):   0, 0
   Device Node (272):   "/dev/input/event3"
   Device Product ID (273):   1133, 50469
   libinput Drag Lock Buttons (302):   <no items>
   libinput Horizontal Scroll Enabled (303):   1
Code:
$ xinput list-props 14
Device 'Logitech USB Receiver':
   Device Enabled (146):   1
   Coordinate Transformation Matrix (148):   1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
   libinput Accel Speed (284):   1.000000
   libinput Accel Speed Default (285):   0.000000
   libinput Accel Profiles Available (286):   1, 1
   libinput Accel Profile Enabled (287):   1, 0
   libinput Accel Profile Enabled Default (288):   1, 0
   libinput Natural Scrolling Enabled (289):   0
   libinput Natural Scrolling Enabled Default (290):   0
   libinput Send Events Modes Available (269):   1, 0
   libinput Send Events Mode Enabled (270):   0, 0
   libinput Send Events Mode Enabled Default (271):   0, 0
   libinput Left Handed Enabled (291):   0
   libinput Left Handed Enabled Default (292):   0
   libinput Scroll Methods Available (293):   0, 0, 1
   libinput Scroll Method Enabled (294):   0, 0, 0
   libinput Scroll Method Enabled Default (295):   0, 0, 0
   libinput Button Scrolling Button (296):   2
   libinput Button Scrolling Button Default (297):   2
   libinput Middle Emulation Enabled (298):   0
   libinput Middle Emulation Enabled Default (299):   0
   Device Node (272):   "/dev/input/event2"
   Device Product ID (273):   1133, 50469
   libinput Drag Lock Buttons (302):   <no items>
   libinput Horizontal Scroll Enabled (303):   1

I tried properties like:
Code:
xinput --set-prop 14 'libinput Accel Speed' '0'
xinput --set-prop 14 'libinput Accel Speed' '1'
xinput --set-prop 8 'libinput Accel Speed' '0'

Values >1 are rejected. The difference is not noticeable or tiny. Shouldn't set 0 the mouse to not move at all?

Reading https://wiki.archlinux.org/index.php/Mouse_acceleration#Using_xinput I can't find any of those Velocity Scaling or Deceleration opts for my devices.
I tried setting the profile like this:
Code:
$ xinput --set-prop 14 'libinput Accel Profile Enabled' '0, 0'
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  20
  Current serial number in output stream:  21


Any idea?
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum