Quirk all StarLabs trackpads
authorSean Rhodes <sean@starlabs.systems>
Thu, 12 May 2022 08:07:26 +0000 (09:07 +0100)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 16 May 2022 05:10:10 +0000 (05:10 +0000)
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 <sean@starlabs.systems>
device- [new file with mode: 0644]
quirks/30-vendor-starlabs.quirks [deleted file]
quirks/50-system-starlabs.quirks [new file with mode: 0644]

diff --git a/device- b/device-
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/quirks/30-vendor-starlabs.quirks b/quirks/30-vendor-starlabs.quirks
deleted file mode 100644 (file)
index 845c091..0000000
+++ /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 (file)
index 0000000..9864d85
--- /dev/null
@@ -0,0 +1,6 @@
+[Star Labs Touchpad]
+MatchName=*Touchpad
+MatchUdevType=touchpad
+MatchDMIModalias=dmi:*svnStarLabs:*
+AttrEventCodeDisable=BTN_RIGHT
+AttrInputPropEnable=INPUT_PROP_BUTTONPAD