[PATCH] Add support for HyperX cloud 2 wireless.
Idan Koblik <[email protected]>
| Newsgroups | org.kernel.vger.linux-input,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Add the device ID for HyperX cloud 2 wireless, which requires the same handling as the devices support by this driver. Tested with HyperX cloud 2 wireless. ( I was about to submit a patch for my own driver for HyperX devices (https://github.com/IdanKoblik/hid-hyperx), but I noticed that you had already submitted support for the HyperX Cloud III Wireless last week :( Anyway, here's a small patch to add support for the HyperX Cloud II Wireless to the existing driver. ) Signed-off-by: Idan Koblik <[email protected]> --- drivers/hid/hid-hp.c | 2 ++ drivers/hid/hid-ids.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/hid/hid-hp.c b/drivers/hid/hid-hp.c index fa53d5f6c..84ea358ea 100644 --- a/drivers/hid/hid-hp.c +++ b/drivers/hid/hid-hp.c @@ -381,6 +381,8 @@ static void hp_remove(struct hid_device *hdev) static const struct hid_device_id hp_devices[] = { { HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_DEVICE_ID_HP_HYPERX_CLOUD_III_WIRELESS) }, + { HID_USB_DEVICE(USB_VENDOR_ID_HP, + USB_DEVICE_ID_HP_HYPERX_CLOUD_II_WIRELESS) }, {} }; MODULE_DEVICE_TABLE(hid, hp_devices); diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index aa2c3a713..a8a37a936 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -697,6 +697,7 @@ #define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_0641 0x0641 #define USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_1f4a 0x1f4a #define USB_DEVICE_ID_HP_HYPERX_CLOUD_III_WIRELESS 0x05b7 +#define USB_DEVICE_ID_HP_HYPERX_CLOUD_II_WIRELESS 0x0995 #define USB_VENDOR_ID_HUION 0x256c #define USB_DEVICE_ID_HUION_TABLET 0x006e base-commit: 3d6d817622b0a9721e3cc404df3469171582be13 prerequisite-patch-id: 8d99df67dab75c0c6cbc887b2ea6be90be288037 -- 2.55.0