Skip to contentSkip to conversation

HID: Kysona: Add support for VXE Dragonfly R1 Pro

PATCH Applied Lode Willems 2 participants 2 messages Mar 24 – Mar 27 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: Kysona: Add support for VXE Dragonfly R1 Pro

Apparently this same protocol is used by more mice from different brands.

This patch adds support for the VXE Dragonfly R1 Pro.

---
 drivers/hid/hid-ids.h    | 4 ++++
 drivers/hid/hid-kysona.c | 2 ++
 2 files changed, 6 insertions(+)
drivers/hid/hid-ids.h +4 -0
index afcee13bad61..772f24e80baa 100644
@@ -1471,6 +1471,10 @@
 #define USB_VENDOR_ID_VTL		0x0306
 #define USB_DEVICE_ID_VTL_MULTITOUCH_FF3F	0xff3f
 
+#define USB_VENDOR_ID_VXE		0x3554
+#define USB_DEVICE_ID_VXE_DRAGONFLY_R1_PRO_DONGLE	0xf58a
+#define USB_DEVICE_ID_VXE_DRAGONFLY_R1_PRO_WIRED	0xf58c
+
 #define USB_VENDOR_ID_WACOM		0x056a
 #define USB_DEVICE_ID_WACOM_GRAPHIRE_BLUETOOTH	0x81
 #define USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH   0x00BD
drivers/hid/hid-kysona.c +2 -0
index 09bfe30d02cb..ccbd8380064e 100644
@@ -272,6 +272,8 @@ static void kysona_remove(struct hid_device *hdev)
 static const struct hid_device_id kysona_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KYSONA, USB_DEVICE_ID_KYSONA_M600_DONGLE) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KYSONA, USB_DEVICE_ID_KYSONA_M600_WIRED) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_VXE, USB_DEVICE_ID_VXE_DRAGONFLY_R1_PRO_DONGLE) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_VXE, USB_DEVICE_ID_VXE_DRAGONFLY_R1_PRO_WIRED) },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, kysona_devices);
Signature · 1 line
2.53.0