This patch series adds the ability to set a custom pointer acceleration profile. The profile maps speed (in device units) to an acceleration factor which is applied to the current delta, i.e. the same that the current accel curves do. The big difference here is that the user can control the acceleration curve by specifying a number of points on the curve. Speeds in between are linearly interpolated. See the docs for more info and pretty pictures.
New API is a new profile enum value and the libinput_acceleration_profile_set_curve_point() function that specifies a curve point on the acceleration curve. The first 20 patches are cleanup with no functional changes, it just splits the various acceleration curves into multiple files. Slight increase in duplication, big decrease in confusion. I don't have test cases for this yet, but for a review/playing around with it it's good enough. If you only care about the exposed API, look at patch 22. Cheers, Peter _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel