summaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorYihong Cao <caoyihong4@outlook.com>2023-10-29 20:05:38 +0300
committerJiri Kosina <jkosina@suse.cz>2023-11-21 11:31:51 +0300
commit113f736655e4f20633e107d731dd5bd097d5938c (patch)
treee7e36daed1311bdfa0345462f36b94743d36dc06 /drivers/hid
parent73ce9f1f2741a38f5d27393e627702ae2c46e6f2 (diff)
downloadlinux-113f736655e4f20633e107d731dd5bd097d5938c.tar.xz
HID: apple: add Jamesdonkey and A3R to non-apple keyboards list
Jamesdonkey A3R keyboard is identified as "Jamesdonkey A3R" in wired mode, "A3R-U" in wireless mode and "A3R" in bluetooth mode. Adding them to non-apple keyboards fixes function key. Signed-off-by: Yihong Cao <caoyihong4@outlook.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
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 3ca45975c686..d9e9829b2200 100644
--- a/drivers/hid/hid-apple.c
+++ b/drivers/hid/hid-apple.c
@@ -345,6 +345,8 @@ static const struct apple_non_apple_keyboard non_apple_keyboards[] = {
{ "AONE" },
{ "GANSS" },
{ "Hailuck" },
+ { "Jamesdonkey" },
+ { "A3R" },
};
static bool apple_is_non_apple_keyboard(struct hid_device *hdev)