https://bugs.kde.org/show_bug.cgi?id=464868
Luke Cyca <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #28 from Luke Cyca <[email protected]> --- This continues to be a problem. Libinput supports custom acceleration curves but KWin doesn't expose the necessary parameters. Libinput API: https://wayland.freedesktop.org/libinput/doc/latest/api/group__config.html#ggad63796972347f318b180e322e35cee79a9b9cfc7fe60f204d88d0ae25e928566b Libinput documentation: https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html#ptraccel-profile-custom I propose the following design which would expose this functionality through the `kcminputrc` file. 1. Setting `PointerAccelerationProfile=3` would select LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM. Currently KWin only supports values of 1 (flat) and 2 (adaptive). 2. Setting `PointerAccelerationCustomStep=[float]` to specify the distance between each point along the x-axis. 3. Setting `PointerAccelerationCustomNPoints=[int]` to specify the number of points of the custom acceleration function. 4. Setting `PointerAccelerationCustomPoints=[float],[float],[float],...` to specify the points' y-values of the custom acceleration function. Note that the last 3 of those map directly to the parameters of `libinput_config_accel_set_points()`. The `NPoints` one could possibly be omitted and inferred by the number of points provided. -- You are receiving this mail because: You are watching all bug changes.
