libinput/0001-quirks-add-a-quirk-for-the-Huawei-Matebook-2020-touc.patch
2021-06-21 08:55:06 +10:00

33 lines
990 B
Diff

From 17783c24df991e6283c693050d6b0304b7307d3e Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon, 21 Jun 2021 08:51:04 +1000
Subject: [PATCH libinput] quirks: add a quirk for the Huawei Matebook 2020
touchpad
Clickpad that announces BTN_RIGHT
https://bugzilla.redhat.com/show_bug.cgi?id=1972370
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
quirks/50-system-huawei.quirks | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 quirks/50-system-huawei.quirks
diff --git a/quirks/50-system-huawei.quirks b/quirks/50-system-huawei.quirks
new file mode 100644
index 00000000..43ccb075
--- /dev/null
+++ b/quirks/50-system-huawei.quirks
@@ -0,0 +1,7 @@
+# Clickpad that announces BTN_RIGHT
+# https://bugzilla.redhat.com/show_bug.cgi?id=1972370
+[Huawei MateBook 2020 Touchpad]
+MatchName=ELAN2604:00 04F3:3114 Touchpad
+MatchUdevType=touchpad
+MatchDMIModalias=dmi:*svnHUAWEI:*pvrM1010*
+AttrEventCodeDisable=BTN_RIGHT
--
2.31.1