summaryrefslogtreecommitdiffstats
path: root/device/hid/hid_service_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'device/hid/hid_service_win.cc')
-rw-r--r--device/hid/hid_service_win.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/device/hid/hid_service_win.cc b/device/hid/hid_service_win.cc
index a0d6c89..130b3cb 100644
--- a/device/hid/hid_service_win.cc
+++ b/device/hid/hid_service_win.cc
@@ -227,6 +227,7 @@ void HidServiceWin::PlatformAddDevice(const std::string& device_path) {
int report_id = button_caps[i].ReportID;
if (report_id != 0) {
collection_info.report_ids.insert(report_id);
+ device_info.has_report_id = true;
}
}
}