2 Commits
Author SHA1 Message Date
Marcello HaddemanandGitHub 8521487de8 build: bump libinput to 1.29 (#14593)
The recently merged commit a599248d03
requires a version bump for libinput to v1.29
2026-05-16 18:34:48 +01:00
Marcello HaddemanandGitHub a599248d03 input/tablet: add TabletTool config options for eraser button and tool pressure (#14110)
* Add TabletTool config options for eraser button and tool pressure

Tested on a XP-Pen Artist Pro Gen 2.

The eraser button mode has some quirks to it such as not being able to
set keyboard buttons but otherwise works well. Krita recognizes
keycode 332 as a right-click action for example.

Pressure range seems to work without issue, a very low max range means
it takes very minimal pressure to reach the maximum. While a very high
min range means you need to put a lot of pressure before the input is
even recognized.

The exact moment these settings are set, happens within the
`CInputManager::ensureTabletToolPresent()` function after a new
TabletTool has been added. The newly created `setTabletToolconfigs()`
function is called to set up the configuration.

* Add `InputManager.settabletToolConfigs()` call to `PropRefresher`

* Run clang-format
2026-05-15 21:18:29 +01:00