Mark the Lenovo Compact Keyboard as external (#1510814)

This commit is contained in:
Peter Hutterer 2017-11-15 09:53:52 +10:00
parent 20471d9763
commit 0bb4f2fd9a
2 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,31 @@
From c06660b314f5d9b284088d30770c1c40006d9ab0 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
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 <peter.hutterer@who-t.net>
---
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

View File

@ -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 <peter.hutterer@redhat.com> 1.9.1-4
- Mark the Lenovo Compact Keyboard as external (#1510814)
* Tue Nov 14 2017 Peter Hutterer <peter.hutterer@redhat.com> 1.9.1-3
- Handle printing of tablet mode switches (#1510814)