diff --git a/0001-udev-add-integration-flag-for-the-Lenovo-Compact-Key.patch b/0001-udev-add-integration-flag-for-the-Lenovo-Compact-Key.patch new file mode 100644 index 0000000..09b19bc --- /dev/null +++ b/0001-udev-add-integration-flag-for-the-Lenovo-Compact-Key.patch @@ -0,0 +1,31 @@ +From c06660b314f5d9b284088d30770c1c40006d9ab0 Mon Sep 17 00:00:00 2001 +From: Peter Hutterer +Date: Tue, 14 Nov 2017 15:53:12 +1000 +Subject: [PATCH libinput] udev: add integration flag for the Lenovo Compact + Keyboard with TrackPoint + +From https://bugzilla.redhat.com/show_bug.cgi?id=1510814 + +Signed-off-by: Peter Hutterer +--- + udev/90-libinput-model-quirks.hwdb | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb +index 820cb8db..c23ef833 100644 +--- a/udev/90-libinput-model-quirks.hwdb ++++ b/udev/90-libinput-model-quirks.hwdb +@@ -204,6 +204,10 @@ libinput:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO:*:pvrThinkPadX1Carbon3rd + LIBINPUT_MODEL_LENOVO_T450_TOUCHPAD=1 + LIBINPUT_ATTR_PALM_PRESSURE_THRESHOLD=150 + ++# Lenovo ThinkPad Compact USB Keyboard with TrackPoint ++libinput:keyboard:input:b0003v17EFp6047* ++ LIBINPUT_ATTR_KEYBOARD_INTEGRATION=external ++ + ########################################## + # Logitech + ########################################## +-- +2.13.6 + diff --git a/libinput.spec b/libinput.spec index 8869450..bbd8d62 100644 --- a/libinput.spec +++ b/libinput.spec @@ -5,7 +5,7 @@ Name: libinput Version: 1.9.1 -Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Release: 4%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} Summary: Input device library License: MIT @@ -20,6 +20,7 @@ Source0: http://www.freedesktop.org/software/libinput/libinput-%{version} Patch01: 0001-tools-when-the-command-isn-t-installed-print-that.patch Patch02: 0001-tools-Handle-LIBINPUT_SWITCH_TABLET_MODE.patch +Patch03: 0001-udev-add-integration-flag-for-the-Lenovo-Compact-Key.patch BuildRequires: git-core BuildRequires: gcc @@ -122,6 +123,9 @@ git am -p1 %{patches} < /dev/null %{_mandir}/man1/libinput-measure-trackpoint-range.1* %changelog +* Wed Nov 15 2017 Peter Hutterer 1.9.1-4 +- Mark the Lenovo Compact Keyboard as external (#1510814) + * Tue Nov 14 2017 Peter Hutterer 1.9.1-3 - Handle printing of tablet mode switches (#1510814)