Commit ef07c116 authored by Filipe Laíns's avatar Filipe Laíns Committed by Jiri Kosina

HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming

In e400071a I added support for the
receiver that comes with the G602 device, but unfortunately I screwed up
during testing and it seems the keyboard events were actually not being
sent to userspace.
This resulted in keyboard events being broken in userspace, please
backport the fix.

The receiver uses the normal 0x01 Logitech keyboard report descriptor,
as expected, so it is just a matter of flagging it as supported.

Reported in
https://github.com/libratbag/libratbag/issues/1124

Fixes: e400071a ("HID: logitech-dj: add the G602 receiver")
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarFilipe Laíns <lains@riseup.net>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent fc6a31b0
...@@ -980,6 +980,7 @@ static void logi_hidpp_recv_queue_notif(struct hid_device *hdev, ...@@ -980,6 +980,7 @@ static void logi_hidpp_recv_queue_notif(struct hid_device *hdev,
case 0x07: case 0x07:
device_type = "eQUAD step 4 Gaming"; device_type = "eQUAD step 4 Gaming";
logi_hidpp_dev_conn_notif_equad(hdev, hidpp_report, &workitem); logi_hidpp_dev_conn_notif_equad(hdev, hidpp_report, &workitem);
workitem.reports_supported |= STD_KEYBOARD;
break; break;
case 0x08: case 0x08:
device_type = "eQUAD step 4 for gamepads"; device_type = "eQUAD step 4 for gamepads";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment