Bug 464868 - Create UI to generate and use a custom Libinput acceleration profile
Summary: Create UI to generate and use a custom Libinput acceleration profile
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_mouse (show other bugs)
Version: 5.26.4
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 485197 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-26 19:42 UTC by Corin Hoad
Modified: 2024-04-08 20:03 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Corin Hoad 2023-01-26 19:42:28 UTC
SUMMARY

Currently, it is not possible to create a custom acceleration curve for mice in System Settings, the only options are Flat and Adaptive. Libinput does support this, see https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html#the-custom-acceleration-profile

A graphical tool would be ideal, but it would be enough to allow the user to specify pairs of x,y coordinates, as described in the link above.

SOFTWARE/OS VERSIONS
Linux Version: 6.0.10-zen2
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version:  5.15.7
Comment 1 Nate Graham 2023-01-27 17:45:50 UTC

*** This bug has been marked as a duplicate of bug 431751 ***
Comment 2 Corin Hoad 2023-01-27 17:51:54 UTC
(In reply to Nate Graham from comment #1)
> 
> *** This bug has been marked as a duplicate of bug 431751 ***

I do not think this is a duplicate. 431751 could be closed by allowing the user to set any pointer speed (instead of the 11 fixed values currently allowed), but this would not give any more control over the acceleration profile.
Comment 3 Nate Graham 2023-01-27 17:53:47 UTC
Ah, I had assumed that you were using the word "acceleration" to mean "speed", which many people do.

If you truly do want a custom acceleration curve, this isn't something we can provide in KDE code; it would need be implemented in Libinput. Only once that's implemented there could we write a GUI around it.
Comment 4 Corin Hoad 2023-01-27 17:57:33 UTC
(In reply to Nate Graham from comment #3)
> Ah, I had assumed that you were using the word "acceleration" to mean
> "speed", which many people do.
> 
> If you truly do want a custom acceleration curve, this isn't something we
> can provide in KDE code; it would need be implemented in Libinput. Only once
> that's implemented there could we write a GUI around it.

Thanks for reopening. The documentation I linked suggests to me that this is supported by libinput, but I am by no means an expert so could be mistaken.
Comment 5 Nate Graham 2023-01-27 22:35:36 UTC
Man, way to expose my embarrassingly poor reading comprehension skills, or the fact that clearly I didn't even read this at all before jumping to conclusions!
Comment 6 witchhunter 2023-07-30 10:00:09 UTC
The link provided also suggest Scrool movement, which should mean it can be implemented on X11 as well.
BTW, your request just had a practical confirmation:
https://www.reddit.com/r/linux/comments/15cr3s2/custom_mouse_acceleration_curves_are_available_now/
Comment 7 fililip 2024-01-21 20:07:51 UTC
What's the current status of this? Are custom acceleration curves planned?
Comment 8 Nate Graham 2024-01-21 20:19:35 UTC
The status is that its not done yet because nobody has submitted a merge request for it. :) 

You might want to read through https://pointieststick.com/2023/07/16/where-bugfixes-and-new-features-come-from to learn how things work in KDE.
Comment 9 fililip 2024-01-22 20:22:58 UTC
Thanks!
Comment 10 jdmore6 2024-03-19 14:48:54 UTC
I would like this also.  I like to use a trackball mouse and under x.org, I set up a libinput custom acceleration profile for it using the xinput command at KDE startup.  

Under wayland, this no longer works.  If I understand wayland correctly, this needs to be done through KWin now.  Even if a custom acceleration profile isn't added to the systemsettings GUI, could it be exposed via the dbus interface to KWin?  I am running KDE 6.0.2, and in QDBusviewer, I can find dbus methods to enable the flat and adaptive profiles, but nothing for the custom profile.
Comment 11 Nate Graham 2024-04-08 20:03:18 UTC
*** Bug 485197 has been marked as a duplicate of this bug. ***