Skip to contentSkip to conversation

HID: apple: Add Endorfy Thock TKL Wireless to the non-apple keyboard list

PATCH Applied Michal Slustik 2 participants 2 messages Jul 5 – Aug 3 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: apple: Add Endorfy Thock TKL Wireless to the non-apple keyboard list

The Endorfy Thock TKL Wireless uses the same device ID as an Apple keyboard (05ac:024f), but its F1-F12 function keys do not work correctly by default.

Adding two entries to the non-apple keyboard list:
one for Bluetooth mode, identified as "Thock TKL Wireless" one for 2.4GHz wireless mode, identified as "USB Dongle"

---
 drivers/hid/hid-apple.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/hid/hid-apple.c +2 -0
index bf7dd0fbf249..0bd1af58d837 100644
@@ -368,6 +368,8 @@ static const struct apple_non_apple_keyboard non_apple_keyboards[] = {
 	{ "TH87" },			/* EPOMAKER TH87 BT mode */
 	{ "HFD Epomaker TH87" },	/* EPOMAKER TH87 USB mode */
 	{ "2.4G Wireless Receiver" },	/* EPOMAKER TH87 dongle */
+	{ "Thock TKL Wireless" },	/* ENDORFY THOCK TKL BT mode */
+	{ "USB Dongle" },		/* ENDORFY THOCK TKL dongle */
 };
 
 static bool apple_is_non_apple_keyboard(struct hid_device *hdev)
Signature · 1 line
2.53.0
maintainer Applied
#1 lore raw
Quoted 18 lines · Michal Slustik

The Endorfy Thock TKL Wireless uses the same device ID as an Apple keyboard (05ac:024f), but its F1-F12 function keys do not work correctly by default.

Adding two entries to the non-apple keyboard list:
one for Bluetooth mode, identified as "Thock TKL Wireless" one for 2.4GHz wireless mode, identified as "USB Dongle"

---
 drivers/hid/hid-apple.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/hid/hid-apple.c +0 -0
index bf7dd0fbf249..0bd1af58d837 100644

drivers/hid/hid-apple.c static const struct apple_non_apple_keyboard non_apple_keyboards[] = { · line 373

Quoted 6 lines
drivers/hid/hid-apple.c +2 -0
@@ -368,6 +368,8 @@ static const struct apple_non_apple_keyboard non_apple_keyboards[] = {
 	{ "TH87" },			/* EPOMAKER TH87 BT mode */
 	{ "HFD Epomaker TH87" },	/* EPOMAKER TH87 USB mode */
 	{ "2.4G Wireless Receiver" },	/* EPOMAKER TH87 dongle */
+	{ "Thock TKL Wireless" },	/* ENDORFY THOCK TKL BT mode */
+	{ "USB Dongle" },		/* ENDORFY THOCK TKL dongle */
 };

Applied, thanks.

Signature · 2 lines
Jiri Kosina
SUSE Labs