quirks: Add quirk for StarLabs clickpads with two phyisical buttons
authorSean Rhodes <sean@starlabs.systems>
Mon, 4 Oct 2021 09:19:52 +0000 (10:19 +0100)
committerSean Rhodes <sean@starlabs.systems>
Mon, 4 Oct 2021 09:19:52 +0000 (10:19 +0100)
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
quirks/30-vendor-starlabs.quirks [new file with mode: 0644]

diff --git a/quirks/30-vendor-starlabs.quirks b/quirks/30-vendor-starlabs.quirks
new file mode 100644 (file)
index 0000000..05f6549
--- /dev/null
@@ -0,0 +1,41 @@
+[StarBook Mk V]
+MatchName=STAR0001:00 093A:0255 Touchpad
+MatchUdevType=touchpad
+MatchDMIModalias=dmi:*svnStarLabs:pnLabTop*
+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=Device:PCT1336:00 093A:1336 Touchpad
+MatchUdevType=touchpad
+MatchDMIModalias=dmi:*svnStarLabs:pnLabTop*
+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
+
+[StarLite Mk II - coreboot firmware]
+MatchName=STAR0001:00 0911:5288 Touchpad
+MatchUdevType=touchpad
+MatchDMIModalias=dmi:*svnStarLabs:pnLite*
+AttrEventCodeDisable=BTN_RIGHT
+
+[StarLite Mk II - AMI firmware]
+MatchName=ALPS0001:00 0911:5288 Touchpad
+MatchUdevType=touchpad
+MatchDMIModalias=dmi:*svnStarLabs:pnLite*
+AttrEventCodeDisable=BTN_RIGHT