From: Wentao Guan Date: Mon, 23 Sep 2024 08:51:47 +0000 (+0000) Subject: quirks: add a quirk for the HONOR MagicBook Art 14 touchpad X-Git-Tag: 1.27.0~122 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4785a1cc090a1c636a0004c85af7f172ac473edc;p=platform%2Fupstream%2Flibinput.git quirks: add a quirk for the HONOR MagicBook Art 14 touchpad The touchpad need ModelPressurePad=1 to enable moving cursor, and need AttrEventCode=-BTN_RIGHT to use right key by touchpad two-fingers press.. Closes: #1040 Link: https://gitlab.freedesktop.org/libinput/libinput/-/issues/1040 Signed-off-by: Wentao Guan Part-of: --- diff --git a/quirks/50-system-honor.quirks b/quirks/50-system-honor.quirks new file mode 100644 index 00000000..4f5e8023 --- /dev/null +++ b/quirks/50-system-honor.quirks @@ -0,0 +1,8 @@ +# Clickpad that announces BTN_RIGHT +# requires ModelPressurePad=1 +[HONOR MagicBook Art 14] +MatchName=*TOPS0102* +MatchDMIModalias=dmi:*svnHONOR:*pnMRA-XXX* +MatchUdevType=touchpad +AttrEventCode=-BTN_RIGHT +ModelPressurePad=1