tablet: default to a built-in tablet
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 29 Oct 2024 10:17:00 +0000 (20:17 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 31 Oct 2024 05:58:31 +0000 (15:58 +1000)
commitd1e49c7b3d83f0d44f51a6e72895a0416a162cd7
tree25869c955c7a86e295378d0e16040816e6472243
parent2ac4227843658c4719e1ad299851d1796dbfaec8
tablet: default to a built-in tablet

The vast majority of devices that libwacom doesn't know about are the
various built-in ones. Since the only effect in our code here is that we
enable the calibration matrix, let's default to built-in if we don't
know any better - better to have the matrix and not use it than to not
be able to calibrate a tablet.

Note that libwacom 2.11 and later also now default to a built-in tablet.

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1074>
src/evdev-tablet.c
test/test-tablet.c