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 <guanwentao@uniontech.com>
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1053>
This commit is contained in:
Wentao Guan 2024-09-23 08:51:47 +00:00 committed by Marge Bot
parent 9b4fefc972
commit 4785a1cc09

View file

@ -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