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>
--- /dev/null
+# 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