Add tablet area configuration
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 12 Jun 2024 23:00:21 +0000 (09:00 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 5 Nov 2024 02:10:48 +0000 (12:10 +1000)
commitcf5b7bee01adf3877f7d9acb0888343eec30d2f9
tree6b666d804786ff24780aa36cedece259f2c5c691
parent9735229dee382111f3a875da8f71381b171eee49
Add tablet area configuration

This adds the configuration option to define a rectangle that serves as
an input area on external tablets such as an Intuos.

The intention behind this is to make this input area behave as if it was
the only physical input area on this tablet with libinput emulating
proximity events as required for where the tools moves in and out
of this area.

This could also be achieved with the existing calibration setting but
area configuration is not calibration and we don't want to expose other
side-effects of the matrix (e.g. scaling and rotation) for these
devices.

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1013>
12 files changed:
completion/zsh/_libinput
doc/user/configuration.rst
doc/user/meson.build
doc/user/svg/tablet-area.svg [new file with mode: 0644]
doc/user/tablet-support.rst
src/libinput-private.h
src/libinput.c
src/libinput.h
src/libinput.sym
tools/libinput-debug-events.man
tools/shared.c
tools/shared.h