From 4d26736e2011ea7bce9286bb7f8b144bf3a74536 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Thu, 12 May 2022 09:07:26 +0100 Subject: [PATCH] Quirk all StarLabs trackpads Quirk all the StarLabs trackpads as they are all the same design, a clickpad with physical buttons that act as one button. Fixes #771. Signed-off-by: Sean Rhodes --- device- | 0 quirks/30-vendor-starlabs.quirks | 35 ----------------------------------- quirks/50-system-starlabs.quirks | 6 ++++++ 3 files changed, 6 insertions(+), 35 deletions(-) create mode 100644 device- delete mode 100644 quirks/30-vendor-starlabs.quirks create mode 100644 quirks/50-system-starlabs.quirks diff --git a/device- b/device- new file mode 100644 index 0000000..e69de29 diff --git a/quirks/30-vendor-starlabs.quirks b/quirks/30-vendor-starlabs.quirks deleted file mode 100644 index 845c091..0000000 --- a/quirks/30-vendor-starlabs.quirks +++ /dev/null @@ -1,35 +0,0 @@ -[StarBook Mk V] -MatchName=STAR0001:00 093A:0255 Touchpad -MatchUdevType=touchpad -MatchDMIModalias=dmi:*svnStarLabs:pnStarBook* -AttrEventCodeDisable=BTN_RIGHT - -[StarLabTop Mk IV - coreboot firmware] -MatchName=STAR0001:00 093A:1336 Touchpad -MatchUdevType=touchpad -MatchDMIModalias=dmi:*svnStarLabs:pnLabTop* -AttrEventCodeDisable=BTN_RIGHT - -[StarLabTop Mk IV - AMI firmware] -MatchName=PCT1336:00 093A:1336 Touchpad -MatchUdevType=touchpad -MatchDMIModalias=dmi:*svnStarLabs:pnLabTop* -AttrEventCodeDisable=BTN_RIGHT - -[StarLite Mk IV - AMI firmware] -MatchName=HTIX5288:00 093A:0255 Touchpad -MatchUdevType=touchpad -MatchDMIModalias=dmi:*svnStarLabs:pnStarLite* -AttrEventCodeDisable=BTN_RIGHT - -[StarLite Mk III - coreboot firmware] -MatchName=STAR0001:00 093A:0255 Touchpad -MatchUdevType=touchpad -MatchDMIModalias=dmi:*svnStarLabs:pnLite* -AttrEventCodeDisable=BTN_RIGHT - -[StarLite Mk III - AMI firmware] -MatchName=HTIX5288:00 093A:0255 Touchpad -MatchUdevType=touchpad -MatchDMIModalias=dmi:*svnStarLabs:pnLite* -AttrEventCodeDisable=BTN_RIGHT diff --git a/quirks/50-system-starlabs.quirks b/quirks/50-system-starlabs.quirks new file mode 100644 index 0000000..9864d85 --- /dev/null +++ b/quirks/50-system-starlabs.quirks @@ -0,0 +1,6 @@ +[Star Labs Touchpad] +MatchName=*Touchpad +MatchUdevType=touchpad +MatchDMIModalias=dmi:*svnStarLabs:* +AttrEventCodeDisable=BTN_RIGHT +AttrInputPropEnable=INPUT_PROP_BUTTONPAD -- 2.7.4