systemd/1010-Add-MSI-Claw-AT-Keyboard-Scancodes.patch
Jan Macku 5e4e586032 systemd-252-41
Resolves: RHEL-36276,RHEL-45020,RHEL-50672,RHEL-5950
2024-08-16 09:00:42 +02:00

29 lines
1.0 KiB
Diff

From 54e258244e5af779acd0b916cf89698e4ba55dab Mon Sep 17 00:00:00 2001
From: "Derek J. Clark" <derekjohn.clark@gmail.com>
Date: Tue, 2 Jul 2024 21:27:13 -0700
Subject: [PATCH] Add MSI Claw AT Keyboard Scancodes.
(cherry picked from commit 57caff009edb6fb3287dbba6c6058bf7e623eb24)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 607515b7c3..534bf9ffa2 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1537,6 +1537,11 @@ evdev:name:MSI Laptop hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnM[iI][cC][rR][oO]-S[tT][a
KEYBOARD_KEY_0213=f22
KEYBOARD_KEY_0214=f23
+# MSI Claw
+evdev:name:AT Translated Set 2 keyboard:dmi:*:svnMicro-StarInternationalCo.,Ltd.:pnClawA1M:*
+ KEYBOARD_KEY_b9=f15 # Right Face Button
+ KEYBOARD_KEY_ba=f16 # Left Face Button
+
##########################################
# NEC
##########################################