|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| data/ | H | 31-Aug-2020 | - | 10,776 | 9,430 |
| doc/ | H | 31-Aug-2020 | - | 2,513 | 2,099 |
| include/linux/ | H | 31-Aug-2020 | - | 839 | 698 |
| libwacom/ | H | 03-May-2022 | - | 4,636 | 3,267 |
| test/ | H | 31-Aug-2020 | - | 3,345 | 2,628 |
| tools/ | H | 31-Aug-2020 | - | 4,468 | 3,487 |
| COPYING | H A D | 23-Jun-2020 | 1.1 KiB | 21 | 18 |
| Makefile.am | H A D | 23-Jun-2020 | 189 | 7 | 4 |
| Makefile.in | H A D | 31-Aug-2020 | 27.8 KiB | 890 | 791 |
| NEWS | H A D | 31-Aug-2020 | 7.6 KiB | 300 | 258 |
| README.md | H A D | 25-Jun-2020 | 1.7 KiB | 19 | 13 |
| aclocal.m4 | H A D | 31-Aug-2020 | 377.5 KiB | 10,548 | 9,526 |
| autogen.sh | H A D | 23-Jun-2020 | 214 | 15 | 9 |
| compile | H A D | 24-Jun-2020 | 7.2 KiB | 349 | 259 |
| config.guess | H A D | 24-Jun-2020 | 43.1 KiB | 1,487 | 1,294 |
| config.h.in | H A D | 31-Aug-2020 | 1.7 KiB | 68 | 45 |
| config.sub | H A D | 24-Jun-2020 | 30.7 KiB | 1,791 | 1,636 |
| configure | H A D | 31-Aug-2020 | 460.6 KiB | 15,746 | 13,363 |
| configure.ac | H A D | 31-Aug-2020 | 2 KiB | 68 | 54 |
| depcomp | H A D | 24-Jun-2020 | 23 KiB | 792 | 502 |
| install-sh | H A D | 24-Jun-2020 | 15 KiB | 519 | 337 |
| libwacom.pc.in | H A D | 23-Jun-2020 | 254 | 12 | 10 |
| ltmain.sh | H A D | 24-Jun-2020 | 316.6 KiB | 11,150 | 7,980 |
| meson.build | H A D | 31-Aug-2020 | 8.9 KiB | 283 | 244 |
| missing | H A D | 24-Jun-2020 | 6.7 KiB | 216 | 143 |
| test-driver | H A D | 24-Jun-2020 | 4.5 KiB | 149 | 87 |
README.md
1# Overview
2libwacom is a library to identify Wacom tablets and their model-specific features. It provides easy access to information such as "is this a built-in on-screen tablet", "what is the size of this model", etc.
3
4This functionality is currently used by e.g. GNOME to map built-in tablets to the correct screen.
5
6# Adding tablet descriptions to libwacom
7A common indicator that a device is not supported by libwacom is that it works normally in a GNOME session, but the device is not correctly mapped to the screen.
8
9Use the libwacom-list-local-devices tool to list all local devices recognized by libwacom. If your device is not listed, but it is available as an event device in the kernel (see /proc/bus/input/devices) and in the X session (see xinput list), the device is missing from libwacom's database.
10
11## To add support for a new tablet to libwacom:
121. Create a new tablet definition file. See data/wacom.example in the source for a guideline on how to add a new tablet. For an installed version of libwacom, see the existing data files (e.g. /usr/share/libwacom/cintiq-13hd.tablet)
132. A new tablet description is enabled by adding and installing a new file with a .tablet suffix. Once installed the tablet is part of libwacom's database, no rebuild is neccessary
143. The tablet is then available through libwacom-list-local-devices
15
16**The new device should also be added to the udev rule to ensure all required properties are set**
17* ***When building from source*** generate an update ruleset with tools/generate-udev-rules after adding the tablet descripton to
18* ***When updating an installed version of libwacom***, add it manually to the existing ruleset (/lib/udev/rules.d/65-libwacom.rules)
19