1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef DEVICE_HID_HID_DEVICE_INFO_H_
6 #define DEVICE_HID_HID_DEVICE_INFO_H_
11 #include "build/build_config.h"
12 #include "device/hid/hid_collection_info.h"
18 kHIDBusTypeBluetooth
= 1,
21 typedef std::string HidDeviceId
;
22 extern const char kInvalidHidDeviceId
[];
24 struct HidDeviceInfo
{
28 // Device identification.
29 HidDeviceId device_id
;
32 std::string product_name
;
33 std::string serial_number
;
36 // Top-Level Collections information.
37 std::vector
<HidCollectionInfo
> collections
;
39 size_t max_input_report_size
;
40 size_t max_output_report_size
;
41 size_t max_feature_report_size
;
46 #endif // DEVICE_HID_HID_DEVICE_INFO_H_