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 <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent ea36bf1 commit 21f28a7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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)