Skip to content

Commit

Permalink
HID: apple: add Jamesdonkey and A3R to non-apple keyboards list
Browse files Browse the repository at this point in the history
[ Upstream commit 113f736 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Yihong Cao authored and gregkh committed Dec 20, 2023
1 parent d4b50ac commit 6b3507b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/hid/hid-apple.c
Expand Up @@ -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)
Expand Down

0 comments on commit 6b3507b

Please sign in to comment.