summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2019-09-10 11:15:35 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-09-22 18:33:06 +0200
commit6edaa1f9d2fd17029d701d8cf10172b001a89a89 (patch)
treeb96e626e4ab54deb3bbc6e4f3811fcd9c9baf7a8 /projectroot
parent0357a57ce761b965f5c0ae89790179ad71255f7c (diff)
downloadptxdist-6edaa1f9d2fd17029d701d8cf10172b001a89a89.tar.gz
ptxdist-6edaa1f9d2fd17029d701d8cf10172b001a89a89.tar.xz
libinput: optionally install device quirks
Add an option LIBINPUT_QUIRKS to install the input device quirks data. It is only useful for systems that allow connecting external input devices, or for systems that are contained in the quirks database. The size of the quirks database is a bit over 100 KiB. If the input device quirk database is not installed, install a dummy quirk file instead, to silence the libinput error message warning about the missing quirk database. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> [mol: use menuconfig] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r--projectroot/usr/share/libinput/99-ptxdist-dummy.quirks6
1 files changed, 6 insertions, 0 deletions
diff --git a/projectroot/usr/share/libinput/99-ptxdist-dummy.quirks b/projectroot/usr/share/libinput/99-ptxdist-dummy.quirks
new file mode 100644
index 000000000..f9acff220
--- /dev/null
+++ b/projectroot/usr/share/libinput/99-ptxdist-dummy.quirks
@@ -0,0 +1,6 @@
+# The purpose of this quirk is just to silence the libinput error message
+# "Failed to load the device quirks from /usr/share/libinput [...]. This will
+# negatively affect device behavior." if the input device quirk database is
+# not installed.
+[PTXdist dummy quirk]
+MatchName=PTXdist inexistent device