View previous topic :: View next topic |
Author |
Message |
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1752 Location: PB, Germany
|
Posted: Thu Sep 06, 2018 8:52 am Post subject: Setting higher libinput Accel Speed to accelerate mouse |
|
|
Hi, how can I get my pointer devices faster, already set 'libinput Accel Speed' '1' which is maximum. But I have several devices that I like to have faster:
Code: | $ xinput --set-prop 10 'libinput Accel Speed' '1'
$ xinput --set-prop 10 'libinput Accel Speed' '2'
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 57 ()
Value in failed request: 0x127
Serial number of failed request: 20
Current serial number in output stream: 21 |
Code: | $ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech Trackball id=9 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=11 [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)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Unicomp Emulator Keyboard id=12 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
$ xinput list-props 10
Device 'Logitech USB Receiver':
Device Enabled (148): 1
Coordinate Transformation Matrix (150): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (284): 0
libinput Natural Scrolling Enabled Default (285): 0
libinput Scroll Methods Available (286): 0, 0, 1
libinput Scroll Method Enabled (287): 0, 0, 0
libinput Scroll Method Enabled Default (288): 0, 0, 0
libinput Button Scrolling Button (289): 2
libinput Button Scrolling Button Default (290): 2
libinput Middle Emulation Enabled (291): 0
libinput Middle Emulation Enabled Default (292): 0
libinput Accel Speed (295): 1.000000
libinput Accel Speed Default (296): 0.000000
libinput Accel Profiles Available (297): 1, 1
libinput Accel Profile Enabled (298): 1, 0
libinput Accel Profile Enabled Default (299): 1, 0
libinput Left Handed Enabled (300): 0
libinput Left Handed Enabled Default (301): 0
libinput Send Events Modes Available (302): 1, 0
libinput Send Events Mode Enabled (303): 0, 0
libinput Send Events Mode Enabled Default (304): 0, 0
Device Node (272): "/dev/input/event8"
Device Product ID (271): 1133, 50469
libinput Drag Lock Buttons (305): <no items>
libinput Horizontal Scroll Enabled (306): 1
$ xinput list-props 11
Device 'Logitech USB Receiver':
Device Enabled (148): 1
Coordinate Transformation Matrix (150): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (280): 0
Device Accel Constant Deceleration (281): 1.000000
Device Accel Adaptive Deceleration (282): 1.000000
Device Accel Velocity Scaling (283): 10.000000
Device Product ID (271): 1133, 50469
Device Node (272): "/dev/input/event9"
Evdev Axis Inversion (310): 0, 0
Evdev Axes Swap (312): 0
Axis Labels (313): "Rel X" (158), "Rel Y" (159), "Rel Horiz Wheel" (309)
Button Labels (314): "Button 0" (308), "Button Unknown" (307), "Button Unknown" (307), "Button Wheel Up" (154), "Button Wheel Down" (155), "Button Horiz Wheel Left" (156), "Button Horiz Wheel Right" (157)
Evdev Scrolling Distance (315): 1, 1, 1
Evdev Middle Button Emulation (316): 0
Evdev Middle Button Timeout (317): 50
Evdev Middle Button Button (318): 2
Evdev Third Button Emulation (319): 0
Evdev Third Button Emulation Timeout (320): 1000
Evdev Third Button Emulation Button (321): 3
Evdev Third Button Emulation Threshold (322): 20
Evdev Wheel Emulation (323): 0
Evdev Wheel Emulation Axes (324): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (325): 10
Evdev Wheel Emulation Timeout (326): 200
Evdev Wheel Emulation Button (327): 4
Evdev Drag Lock Buttons (328): 0 |
Next issue is that I can't specify the pointer device by name, as the name of the 2 devices for the same mouse have the same name. Using the ID is unstable as the ID is changing sometimes at restart.
I have the issue on several mice, that don't allow to set higher acceleration. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1752 Location: PB, Germany
|
Posted: Tue Sep 11, 2018 5:42 am Post subject: |
|
|
Some pointer devices have xinput ... Device Accel Profile, some don't. How is it detected if a device has that? Is it device specific? Are there specific drivers per mouse model? This trackball doesn't have the profiles: Code: | $ xinput list-props 'Logitech Trackball'
Device 'Logitech Trackball':
Device Enabled (148): 1
Coordinate Transformation Matrix (150): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (284): 0
libinput Natural Scrolling Enabled Default (285): 0
libinput Scroll Methods Available (286): 0, 0, 1
libinput Scroll Method Enabled (287): 0, 0, 0
libinput Scroll Method Enabled Default (288): 0, 0, 0
libinput Button Scrolling Button (289): 2
libinput Button Scrolling Button Default (290): 2
libinput Middle Emulation Enabled (291): 0
libinput Middle Emulation Enabled Default (292): 0
libinput Rotation Angle (293): 0.000000
libinput Rotation Angle Default (294): 0.000000
libinput Accel Speed (295): 1.000000
libinput Accel Speed Default (296): 0.000000
libinput Accel Profiles Available (297): 1, 1
libinput Accel Profile Enabled (298): 1, 0
libinput Accel Profile Enabled Default (299): 1, 0
libinput Left Handed Enabled (300): 0
libinput Left Handed Enabled Default (301): 0
libinput Send Events Modes Available (302): 1, 0
libinput Send Events Mode Enabled (303): 0, 0
libinput Send Events Mode Enabled Default (304): 0, 0
Device Node (272): "/dev/input/event7"
Device Product ID (271): 1133, 50180
libinput Drag Lock Buttons (305): <no items>
libinput Horizontal Scroll Enabled (306): 1 |
_________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1752 Location: PB, Germany
|
Posted: Wed Oct 10, 2018 7:16 am Post subject: |
|
|
No software workaround if a mouse dpi setting is not fast enough? _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1752 Location: PB, Germany
|
Posted: Thu Oct 11, 2018 6:28 am Post subject: |
|
|
Ok, this is about creating a hardware database with the physical resolutions of the mice, in order to adapt to different nice. But is this systemd specific? It's all about systemd. My MX Revolution is already set there.
In my dev-libs/libinput-1.12.1 there is no database like this. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Thu Oct 11, 2018 7:51 pm Post subject: |
|
|
This is the udev database. If you have libinput, you already use udev. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6095 Location: Dallas area
|
Posted: Thu Oct 11, 2018 8:03 pm Post subject: |
|
|
What does Code: | xinput get-feedbacks "Logitech Trackball" | show?
Then you might play around with Code: | xinput set-ptr-feedback <device name> <threshold> <num> <denom> |
_________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
|
|
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
|
|