Skip to content

Commit 21f28a7

Browse files
YaroST12Jiri Kosina
authored andcommitted
HID: logitech-dj: allow mice to use all types of reports
You can bind whatever action you want to the mouse's reprogrammable buttons using Windows application. Allow Linux to receive multimedia keycodes. Fixes: 3ed224e ("HID: logitech-dj: Fix 064d:c52f receiver support") Signed-off-by: Yaraslau Furman <yaro330@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
1 parent ea36bf1 commit 21f28a7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

drivers/hid/hid-logitech-dj.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -965,9 +965,7 @@ static void logi_hidpp_dev_conn_notif_equad(struct hid_device *hdev,
965965
}
966966
break;
967967
case REPORT_TYPE_MOUSE:
968-
workitem->reports_supported |= STD_MOUSE | HIDPP;
969-
if (djrcv_dev->type == recvr_type_mouse_only)
970-
workitem->reports_supported |= MULTIMEDIA;
968+
workitem->reports_supported |= STD_MOUSE | HIDPP | MULTIMEDIA;
971969
break;
972970
}
973971
}

0 commit comments

Comments
 (0)