33 lines
1.5 KiB
Diff
33 lines
1.5 KiB
Diff
|
From d27ffb0b82f3b2ceb80e8b0ce4a1d9efb6081383 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?David=20Santamar=C3=ADa=20Rogado?= <howl.nsp@gmail.com>
|
||
|
Date: Wed, 6 Sep 2023 16:24:04 +0200
|
||
|
Subject: [PATCH] hwdb: keyboard: D330 FnLk toggle
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
Map Fn+Tab to fn_esc as is FnLock toggle in this keyboard. Still doesn't behave as expected because work in ideapad_laptop kernel module could be required but now at least we report the same mapping in others keyboards with Fn+ESC for FnLock and not unknown.
|
||
|
|
||
|
Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com>
|
||
|
(cherry picked from commit 8b7f0eb6a87cfcdf7c45d7c76424a89999f10ea5)
|
||
|
|
||
|
Related: RHEL-5950
|
||
|
---
|
||
|
hwdb.d/60-keyboard.hwdb | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
|
||
|
index 87d592d2cd..48858a11d3 100644
|
||
|
--- a/hwdb.d/60-keyboard.hwdb
|
||
|
+++ b/hwdb.d/60-keyboard.hwdb
|
||
|
@@ -1050,6 +1050,9 @@ evdev:input:b0003v04B3p301B*
|
||
|
evdev:name:SIPODEV Lenovo HID Device:dmi:*:svnLENOVO:*:pvrLenovoideapadD330-10IGM:*
|
||
|
KEYBOARD_KEY_70073=f21 # Fn+Supr (Touchpad toggle)
|
||
|
|
||
|
+evdev:name:SIPODEV Lenovo HID Device Consumer Control:dmi:*:svnLENOVO:*:pvrLenovoideapadD330-10IGM:*
|
||
|
+ KEYBOARD_KEY_c00ff=fn_esc # Fn+Tab (FnLk toggle)
|
||
|
+
|
||
|
###########################################################
|
||
|
# LG
|
||
|
###########################################################
|