summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Ribeiro <pedrib@gmail.com>2021-03-02 11:59:50 +0000
committerPeter Hutterer <peter.hutterer@who-t.net>2021-03-02 23:07:48 +0000
commit5e69c5f9ae793430d8ad07592d3e5bbd1d4e0e5b (patch)
treebe1248312a153a99b886db6c07c155792a9809e1
parent3d3d9b7f69b1119523becab3160378066db2e1c0 (diff)
downloadlibinput-5e69c5f9ae793430d8ad07592d3e5bbd1d4e0e5b.tar.gz
Add Lenovo Legion 5 keyboard to 50-system-lenovo.quirks
Signed-off-by: Pedro Ribeiro <pedrib@gmail.com>
-rw-r--r--quirks/50-system-lenovo.quirks16
1 files changed, 16 insertions, 0 deletions
diff --git a/quirks/50-system-lenovo.quirks b/quirks/50-system-lenovo.quirks
index e4ecc325..f617bb75 100644
--- a/quirks/50-system-lenovo.quirks
+++ b/quirks/50-system-lenovo.quirks
@@ -205,3 +205,19 @@ ModelTabletModeNoSuspend=1
MatchName=AT Raw Set 2 keyboard
MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX1Tablet:*
ModelTabletModeNoSuspend=1
+
+# Misidentified as an external keyboard by libinput
+# Tested on Legion 5 15AR05H
+[Lenovo Legion 5 Keyboard]
+MatchUdevType=keyboard
+MatchBus=usb
+MatchVendor=0x048D
+MatchProduct=0xC100
+AttrKeyboardIntegration=internal
+
+[Lenovo Legion 5 Keyboard]
+MatchUdevType=keyboard
+MatchBus=usb
+MatchVendor=0x048D
+MatchProduct=0xC955
+AttrKeyboardIntegration=internal