Skip to content

Add configurable pen pressure

Joshua Goins requested to merge work/redstrate/pressure-curves into master

This is the necessary KWin changes for plasma-desktop!1972 which is configurable pen pressure. This uses a Bézier curve, and all of the C++ code for that is taken from Krita (which they use for their own pen pressure handling.)

I put the class into utils/ I'm not sure a better place to put it, feel free to review!

Merge request reports