summaryrefslogtreecommitdiffstats
path: root/hwdb.d/60-keyboard.hwdb
diff options
context:
space:
mode:
authoroldherl <oldherl@gmail.com>2024-06-24 20:22:37 +0200
committerGitHub <noreply@github.com>2024-06-24 20:22:37 +0200
commit341f04fa330a1c893b80b12c44f91db4c35fb50a (patch)
treeb8196a3b808e7c41e4cbb5d1aaa7275923cafc98 /hwdb.d/60-keyboard.hwdb
parentuefi: emphasize a bit that EV_IPL event logs is the past, EV_EVENT_TAG the fu... (diff)
downloadsystemd-341f04fa330a1c893b80b12c44f91db4c35fb50a.tar.xz
systemd-341f04fa330a1c893b80b12c44f91db4c35fb50a.zip
hwdb: fix keyboard of RedmiBook Pro 15 2022 (#33465)
Fix two problems of the keyboard of RedmiBook Pro 15 2022. - Enter key in the main area was mapped to KP_Enter. - When Fn is locked (to use F1-F12 without pressing Fn), Right Ctrl was mapped to Menu. Keeping it as Right Ctrl is more useful.
Diffstat (limited to 'hwdb.d/60-keyboard.hwdb')
-rw-r--r--hwdb.d/60-keyboard.hwdb9
1 files changed, 9 insertions, 0 deletions
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 81ffc69fa1..48aa92b433 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1754,6 +1754,15 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr*:rvnQuanta:rn30B7:rvr65.2B:*
KEYBOARD_KEY_88=media # "quick play
###########################################################
+# Redmi
+###########################################################
+
+# RedmiBook Pro 15 2022
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTIMI:pnRedmiBookPro152022:pvr*
+ KEYBOARD_KEY_9c=enter # KP_enter in the main area is wrong
+ KEYBOARD_KEY_dd=rightctrl # Right Ctrl is preferrable over Menu
+
+###########################################################
# Samsung
###########################################################