HID: logitech-hidpp: add support for the Logitech G Pro X mouse
Subsystems (3)
PATCH 1/1 HID: logitech-hidpp: add support for the Logitech G Pro X mouse
The Logitech G Pro X mouse uses the HID++ protocol and supports battery reporting. So, add it to the list of supported devices.
Signed-off-by Hamza Mahfooz <[email protected]>
--- drivers/hid/hid-logitech-hidpp.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/hid/hid-logitech-hidpp.c +2 -0
@@ -4620,6 +4620,8 @@ static const struct hid_device_id hidpp_devices[] = { .driver_data = HIDPP_QUIRK_CLASS_G920 | HIDPP_QUIRK_FORCE_OUTPUT_REPORTS }, {/* Logitech G Pro Gaming Mouse over USB */ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC088) }, + { /* Logitech G Pro X Superlight Gaming Mouse over USB */ + HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC094) }, { /* G935 Gaming Headset */ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0x0a87),
Signature · 1 line
2.41.0
Quoted 4 lines · Hamza Mahfooz
The Logitech G Pro X mouse uses the HID++ protocol and supports battery reporting. So, add it to the list of supported devices.
Signed-off-by Hamza Mahfooz <[email protected]>
Actually on further inspection there is already a series that address this issue (i.e.
https://lore.kernel.org/r/[email protected]/),
so please ignore this patch.
Quoted 22 lines
--- drivers/hid/hid-logitech-hidpp.c | 2 ++ 1 file changed, 2 insertions(+)drivers/hid/hid-logitech-hidpp.c +2
-0@@ -4620,6 +4620,8 @@ static const struct hid_device_id hidpp_devices[] = { .driver_data = HIDPP_QUIRK_CLASS_G920 | HIDPP_QUIRK_FORCE_OUTPUT_REPORTS }, {/* Logitech G Pro Gaming Mouse over USB */ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC088) }, + { /* Logitech G Pro X Superlight Gaming Mouse over USB */ + HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0xC094) },drivers/hid/hid-logitech-hidpp.c +0
-1{/* G935 Gaming Headset */ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, 0x0a87), --2.41.0