Add a size hint for Apple one-button touchpads (#1246651)

This commit is contained in:
Peter Hutterer 2015-07-29 11:11:58 +10:00
parent 014ea42f09
commit 3abc616915
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From b849aaf4d3441f3d007889a06ff105e49d197be8 Mon Sep 17 00:00:00 2001
From: Fedora X Ninjas <x@fedoraproject.org>
Date: Tue, 28 Jul 2015 08:23:29 +1000
Subject: [PATCH] udev: add size hint for appletouch one-button touchpad
---
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 eec00b6..2d2a449 100644
--- a/udev/90-libinput-model-quirks.hwdb
+++ b/udev/90-libinput-model-quirks.hwdb
@@ -34,6 +34,10 @@ libinput:touchpad:input:b0005v05ACp*
LIBINPUT_MODEL_APPLE_TOUCHPAD=1
LIBINPUT_ATTR_SIZE_HINT=104x75
+# appletouch one-button touchpad (rhbz#1246651)
+libinput:touchpad:input:b0003v05ACp021B*
+ LIBINPUT_ATTR_SIZE_HINT=100x48
+
##########################################
# Elantech
##########################################
--
2.4.3

View File

@ -5,7 +5,7 @@
Name: libinput Name: libinput
Version: 0.20.0 Version: 0.20.0
Release: 4%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} Release: 5%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
Summary: Input device library Summary: Input device library
License: MIT License: MIT
@ -28,6 +28,8 @@ Patch08: 0001-touchpad-remove-a-leftover-check-for-fake-resolution.patch
Patch09: 0002-evdev-allow-for-multiple-LIBINPUT_MODEL_-flags-per-d.patch Patch09: 0002-evdev-allow-for-multiple-LIBINPUT_MODEL_-flags-per-d.patch
Patch10: 0003-Tag-synaptics-serial-touchpads-with-a-LIBINPUT_MODEL.patch Patch10: 0003-Tag-synaptics-serial-touchpads-with-a-LIBINPUT_MODEL.patch
Patch11: 0004-touchpad-disable-2fg-scrolling-on-Synaptics-semi-mt-.patch Patch11: 0004-touchpad-disable-2fg-scrolling-on-Synaptics-semi-mt-.patch
# Bug 1246651 - two-finger scroll stopped working with upgrade to 0.20.0-1
Patch12: 0001-udev-add-size-hint-for-appletouch-one-button-touchpa.patch
BuildRequires: git BuildRequires: git
BuildRequires: autoconf automake libtool pkgconfig BuildRequires: autoconf automake libtool pkgconfig
@ -105,6 +107,9 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%changelog %changelog
* Wed Jul 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-5
- Add a size hint for Apple one-button touchpads (#1246651)
* Wed Jul 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-4 * Wed Jul 29 2015 Peter Hutterer <peter.hutterer@redhat.com> 0.20.0-4
- Disable 2fg scrolling on Synaptics semi-mt (#1235175) - Disable 2fg scrolling on Synaptics semi-mt (#1235175)