summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorYan Jun <jerrysteve1101@gmail.com>2023-12-03 12:50:58 +0100
committerJiri Kosina <jkosina@suse.com>2023-12-12 14:50:47 +0100
commitdf83a0df820b9b705e51b9499691b0dafb2f4dcb (patch)
tree07353f3b12a372b03dcdfc18a61b972bd9933a81 /drivers/hid
parentHID: lenovo: Restrict detection of patched firmware only to USB cptkbd (diff)
downloadlinux-df83a0df820b9b705e51b9499691b0dafb2f4dcb.tar.xz
linux-df83a0df820b9b705e51b9499691b0dafb2f4dcb.zip
HID: apple: Add "hfd.cn" and "WKB603" to the list of non-apple keyboards
JingZao(京造) WKB603 keyboard is a rebranded product of Jamesdonkey RS2 keyboard, identified as "hfd.cn WKB603" in wired mode, "WKB603" in bluetooth mode. Adding them to the list of non-apple keyboards fixes function key. Signed-off-by: Yan Jun <jerrysteve1101@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-apple.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c
index d9e9829b2200..b9c7c0ed7bcc 100644
--- a/drivers/hid/hid-apple.c
+++ b/drivers/hid/hid-apple.c
@@ -347,6 +347,8 @@ static const struct apple_non_apple_keyboard non_apple_keyboards[] = {
{ "Hailuck" },
{ "Jamesdonkey" },
{ "A3R" },
+ { "hfd.cn" },
+ { "WKB603" },
};
static bool apple_is_non_apple_keyboard(struct hid_device *hdev)